On 8/7/12 9:37 AM, Jens Stimpfle wrote: > Bash's printf builtin has a %q format specifier, which, according to the > documentation, "causes printf to output the corresponding argument in a > format that can be reused as shell input".
http://lists.gnu.org/archive/html/bug-bash/2012-02/msg00067.html The multi-part fix is available in the devel branch of the bash git tree on savannah. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, ITS, CWRU c...@case.edu http://cnswww.cns.cwru.edu/~chet/