Re: debootstrap [fw: [PATCH] using non-standard call to 'head' breaks with busybox]
On Sun, Apr 22, 2001 at 09:56:56PM +1000, Anthony Towns wrote:
> On Sat, Apr 21, 2001 at 11:30:25PM -0600, Erik Andersen wrote:
> > On Thu Apr 19, 2001 at 09:42:33PM -0700, David Whedon wrote:
> > > busybox sed doesn't like 'i' option, it likes 'I' though
> > > http://bugs.debian.org/cgi-bin/bugreport.cgi?archive=no&bug=94579
> > Hmm. This looks like a live bug to me.
>
> s///i isn't actually documented in the sed manpage, so I'm not sure
> where it comes from, whether it's standard or an extension or what.
> Should be pretty easy to add: just put a case 'i': before the case 'I':.
> Normal sed supports both s///i and s///I, so I've switched debootsrap
> to use the capital I.
The info pages for sed state that the I flag to the s/// command is
a GNU extension meaning case-insensitivity, but don't mention i. So
it seems that moving to I is the safe thing to do.
Matt
Reply to: