The shqq package

[Tags: bsd3, library]

This library provides a quasiquoter for executing shell commands, somewhat similar to Perl's backtick operator. Shell commands are IO actions, and they capture the command's standard output as a String result.

You can use Haskell variables in a shell command. A string representation of the contents will be interpolated. The shell will see each interpolated variable as a single token without interpreting special characters, unless you choose otherwise.

Note: The shell escaping is not correct for the Windows shell. This library should fail to build on Windows, as well.

Examples of using this library are included in examples/.


[Skip to ReadMe]

Properties

Version0.1
Change logNone available
Dependenciesbase (>=3 && <5), parsec (>=3.1), posix-escape (>=0.1), process (>=1.1), template-haskell (>=2.3), unix [details]
LicenseBSD3
AuthorKeegan McAllister <mcallister.keegan@gmail.com>
MaintainerKeegan McAllister <mcallister.keegan@gmail.com>
CategorySystem
Source repositoryhead: git clone git://github.com/kmcallister/shqq
UploadedMon Oct 10 19:52:28 UTC 2011 by KeeganMcAllister
DistributionsNixOS:0.1
Downloads279 total (15 in last 30 days)
Votes
0 []
StatusDocs uploaded by user
Build status unknown [no reports yet]

Modules

[Index]

Downloads

Maintainers' corner

For package maintainers and hackage trustees

Readme for shqq-0.1

This library provides a quasiquoter for executing shell commands in Haskell,
somewhat similar to Perl's backtick operator.  Shell commands are IO actions,
and they capture the command's standard output as a String result.  You can
also interpolate Haskell variables into a command.

Documentation is hosted at http://hackage.haskell.org/package/shqq

To build the documentation yourself, run

  $ cabal configure && cabal haddock --hyperlink-source

This will produce HTML documentation under dist/doc/html/shqq