The bash package

[Tags:bsd3, library]

A library for generation of Bash scripts, handling escaping, statement grouping and expression formation at a high level.

The top-level module, Language.Bash, is all you need to import to access the package's functionality. The module Language.Bash.Lib contains some examples, as does the test script, tests.bash, included with the source distribution.

[Skip to Readme]


Versions 0.0.0, 0.1.1, 0.1.2, 0.1.3, 0.1.4, 0.1.5, 0.1.6, 0.1.7, 0.1.8
Dependencies base (<5), binary (>=, bytestring (>=0.9), containers, hxt-regex-xmlschema (>=9.0.0), mtl (>=, SHA (>=, shell-escape (>=0.1.1) [details]
License BSD3
Author Jason Dusek
Stability Unknown
Category Language
Home page
Uploaded Sat Nov 10 17:26:30 UTC 2012 by JasonDusek
Distributions NixOS:0.1.8
Downloads 2086 total (9 in the last 30 days)
0 []
Status Docs not available [build log]
All reported builds failed as of 2016-12-23 [all 8 reports]


  • Language
    • Language.Bash
      • Language.Bash.Annotations
      • Language.Bash.Lib
      • Language.Bash.PrettyPrinter
        • Language.Bash.PrettyPrinter.State
      • Language.Bash.Script
      • Language.Bash.Syntax



Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Maintainer's Corner

For package maintainers and hackage trustees

Readme for bash

Readme for bash-0.1.4

  Language.Bash allows for high-level, safe construction of a subset of valid
  Bash scripts. Escaping, nesting and composition of script statements and
  expressions is handled automatically.

  Please read tests.bash to see some examples, along with their output.