[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: user/4472: /bin/sh shouldn't treat " as a special char in here-documents
- To: bugs_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org
- Subject: Re: user/4472: /bin/sh shouldn't treat " as a special char in here-documents
- From: Adam Montague <amontague_(_at_)_siriushosting_(_dot_)_com>
- Date: Fri, 26 Aug 2005 19:05:03 -0600 (MDT)
- Cc:
- Reply-to: Adam Montague <amontague_(_at_)_siriushosting_(_dot_)_com>
The following reply was made to PR user/4472; it has been noted by GNATS.
From: Adam Montague <amontague_(_at_)_siriushosting_(_dot_)_com>
To: Otto Moerbeek <otto_(_at_)_drijf_(_dot_)_net>
Cc: gnats_(_at_)_openbsd_(_dot_)_org
Subject: Re: user/4472: /bin/sh shouldn't treat " as a special char in here-documents
Date: Fri, 26 Aug 2005 20:43:19 -0400
On Aug 26, 2005 Otto Moerbeek <otto_(_at_)_drijf_(_dot_)_net> wrote:
>
> On Tue, 23 Aug 2005, amontague_(_at_)_siriushosting_(_dot_)_com wrote:
>
> > >Number: 4472
> > >Category: user
> > >Synopsis: /bin/sh shouldn't treat " as a special char in
> > >here-documents
>
> Hi,
>
> I agree this is a bug. You might wanna play with the diff below
> (which only has seen light testing by myself, so beware).
>
> -Otto
The patch definately fixes the problem, and I haven't been able to find
any new problems it created. I tried all sorts of cat<<EOF and cat<<
\EOF stuff, and it all seems good now.
Adam
Visit your host, monkey.org