Name

mk_quote — Quote string for the shell

Synopsis

mk_quote str

Description

Quotes str so that it can be safely reinterpreted by the shell and sets result to the result.

Examples

# Sets result to: 'hello '\'' world'
mk_quote "hello ' world"