Subject: show-var implementation
To: None <tech-pkg@netbsd.org>
From: Hubert Feyrer <hubert.feyrer@informatik.fh-regensburg.de>
List: tech-pkg
Date: 04/15/2001 00:56:48
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>