shell quoting unified
Leonard den Ottolander
leonard at den.ottolander.nl
Thu Aug 19 16:53:02 UTC 2004
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
More information about the mc-devel
mailing list