Re: shell quoting unified



Hi Roland,

On Thu, 2004-08-19 at 18:44, Roland Illig wrote:
> sub foofs_copyin
> {
> 	my ($archive, $filename) = shell_quote(@_);
> 	$filename = shell_quote($filename); # double-quoted
> }

Please do not use this. One of the issues I did not address before is
the fact that in the case of open(FILEOUT, "> $destfile") the variable
should *not* be quoted.

Hence my last patch to create two variables where necessary: One plain
and one quoted.

Leonard.

-- 
mount -t life -o ro /dev/dna /genetic/research





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]