Subject: Re: a proposal for two new libc functions: shquote() and shquotev()
To: None <firstname.lastname@example.org>
From: Christos Zoulas <email@example.com>
Date: 03/03/2001 17:15:17
In article <20010302231333.F20616@mail.netbsd.org>,
Charles M. Hannum <firstname.lastname@example.org> wrote:
>On Fri, Mar 02, 2001 at 10:58:48PM -0800, Chris G. Demetriou wrote:
>> email@example.com (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