posix-escape

Quote arguments to be passed through the Unix shell

Latest on Hackage:0.1

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

BSD-3-Clause licensed and maintained by Keegan McAllister

This library provides functions to wrap a String so it can be used within a Unix shell command line, and end up as a single argument to the program invoked.

The module System.Posix.Escape is the safer option. The module System.Posix.Escape.Unicode has extra caveats which are documented with that module.

There is a similar function within the process package as System.Process.Internals.translate.