Re: shell quoting unified
- From: Leonard den Ottolander <leonard den ottolander nl>
- To: MC Devel <mc-devel gnome org>
- Subject: Re: shell quoting unified
- Date: Thu, 19 Aug 2004 18:53:02 +0200
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]