Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/solidsnack/shell-escape
- Owner: solidsnack
- License: other
- Created: 2010-08-23T17:19:40.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2022-10-08T02:33:10.000Z (about 2 years ago)
- Last Synced: 2024-04-25T21:43:56.091Z (8 months ago)
- Language: Haskell
- Homepage:
- Size: 41 KB
- Stars: 8
- Watchers: 4
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.