The shqq package
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/.
Properties
| Version | 0.1 |
|---|---|
| Dependencies | base (≥3 & <5), parsec (≥3.1), posix-escape (≥0.1), process (≥1.1), template-haskell (≥2.3), unix |
| License | BSD3 |
| Author | Keegan McAllister <mcallister.keegan@gmail.com> |
| Maintainer | Keegan McAllister <mcallister.keegan@gmail.com> |
| Category | System |
| Source repository | git clone git://github.com/kmcallister/shqq |
| Upload date | Mon Oct 10 19:52:28 UTC 2011 |
| Uploaded by | KeeganMcAllister |
| Built on | ghc-7.2 |
Modules
- System
Downloads
- shqq-0.1.tar.gz (Cabal source package)
- package description (included in the package)