Subject: Re: a proposal for two new libc functions: shquote() and shquotev()
To: None <email@example.com>
From: Christos Zoulas <firstname.lastname@example.org>
Date: 03/03/2001 17:15:17
In article <20010302231333.F20616@mail.netbsd.org>,
Charles M. Hannum <email@example.com> wrote:
>On Fri, Mar 02, 2001 at 10:58:48PM -0800, Chris G. Demetriou wrote:
>> firstname.lastname@example.org (Christos Zoulas) writes:
>> > How about an allocating version like asprintf()? That would cut down your
>> > example significantly.
>> I can imagine some trivial cases where that'd help, when _all_ of your
>> arguments are coming from the argc/argv given to shquotev().
Yes, so? I would give all my arguments to shquotev... Remember 'command' gets
eval'ed too. I would think that most of the time would I want to quote all the