shell-quote 0.1.0

A Rust library for shell quoting strings, e.g. for interpolating into a Bash script. This is not as simple as most people think!
Documentation

shell-escape

This will escape strings in a way that they can be inserted into shell scripts without the risk that they're interpreted as, say, multiple arguments (like with Bash's word splitting), paths (Bash's pathname expansion), shell metacharacters, function calls, or other syntax. This is not as simple as using quotes.

Inspired by the Haskell shell-escape package, which is the most comprehensive implementation of shell escaping I've yet seen.

For now this package only implements escaping for Bash.