Next: shell - invoke a shell script, Previous: printf - format to stdout, Up: Common Scheme Functions [Contents][Index]
Usage: (raw-shell-str string)
Convert the text of the string into a singly quoted string
that a normal shell will process into the original string.
(It will not do macro expansion later, either.)
Contained single quotes become tripled, with the middle quote
escaped with a backslash. Normal shells will reconstitute the
original string.
Notice: some shells will not correctly handle unusual non-printing characters. This routine works for most reasonably conventional ASCII strings.
Arguments:
string - string to transform