Subject: Re: show-var implementation
To: Hubert Feyrer <hubert.feyrer@informatik.fh-regensburg.de>
From: Alistair Crooks <agc@pkgsrc.org>
List: tech-pkg
Date: 04/15/2001 07:40:38
On Sun, Apr 15, 2001 at 12:56:48AM +0200, Hubert Feyrer wrote:
> 
> 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>
> 

No.

Please change it.

Thanks,
Alistair