Re: [PATCH] change Perl syntax to support Perl 5.6
- From
Avery Pennarun <apenwarr@gmail.com>
- Date
- Sep 2, 2008, 00:23 UTC
- Message-ID
- <32541b130809011723l1cd8abfid9228363f952875@mail.gmail.com>
- In-Reply-To
- <20080901214254.GA8058@blimp.localhost>
On Mon, Sep 1, 2008 at 5:42 PM, Alex Riesen <raa.lkml@gmail.com> wrote:
Show 9 quoted lines
> Avery Pennarun, Sun, Aug 31, 2008 07:35:31 +0200: >> On Sat, Aug 30, 2008 at 4:37 PM, Jakub Narebski <jnareb@gmail.com> wrote: >> > Or you can use "open $fd, '-|'" to fork, an "manually" exec/system. >> >> Shell quoting is a disaster (including security holes, where relevant) >> waiting to happen. The above is the only sane way to do it, and it >> isn't very hard to implement. ... > > except on Windows, where it is impossible to implement.
True. Although every program parses its own options on Windows, so proper, safe quoting is *also* impossible to implement.
Avery