solidsnack / shell-escape

Shell escaping library.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

Simple usage examples:

> 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.

About

Shell escaping library.

License:Other


Languages

Language:Haskell 92.9%Language:Makefile 5.2%Language:Shell 1.9%