i wonder why we don't just do: - @${ECHO} "${${VARNAME}:S/\\/\\\\/g:S/"/\"/g:S/`/\`/g}" + @${ECHO} ${${VARNAME}:Q} Is there a good reason not to use :Q ? - Hubert -- Hubert Feyrer <hubert.feyrer@informatik.fh-regensburg.de>