Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/solidsnack/shell-escape

Shell escaping library.
https://github.com/solidsnack/shell-escape

Last synced: about 1 month ago
JSON representation

Shell escaping library.

Awesome Lists containing this project

README

        

Library for generating fully escaped strings for use with the shell.

Simple usage examples:

```haskell
> bytes (sh "abc def")
"abc' def'"

> bytes (bash "abc def")
"$'abc def'"
```

The first result might seem wrong -- but it is an actual shell literal.