[PATCH] sed: Add support for POSIX -E to select EREs (this is a synonym for -r)

David A. Wheeler dwheeler at dwheeler.com
Mon Oct 28 12:28:50 UTC 2013


On Mon, 28 Oct 2013 08:13:06 +0100, Xabier Oneca  --  xOneca <xoneca at gmail.com> wrote:
> Hello david,
> 
> Thaks for the patch!
> 
> > +       if ((opt & 0x2) || (opt && 0x20))
> 
> Should't it be with only one ampersand?
> 
>   +       if ((opt & 0x2) || (opt & 0x20))

Argh!  It appears I was under-quota for bone-headed mistakes.

Thanks for noticing that.  I'll repost a corrected patch.

--- David A. Wheeler


More information about the busybox mailing list