[prev in list] [next in list] [prev in thread] [next in thread]
List: busybox
Subject: Re: [PATCH] sed: Document POSIX -E sed flag that selects EREs (as a synonym for -r)
From: "David A. Wheeler" <dwheeler () dwheeler ! com>
Date: 2013-10-30 19:25:37
Message-ID: E1VbbOb-0007u1-I6 () rmm6prod02 ! runbox ! com
[Download RAW message or body]
On Wed, 30 Oct 2013 12:57:06 +0100, Denys Vlasenko <vda.linux@googlemail.com> wrote:
> busybox is about small size.
> Is there any use for the consumer of --help output to see
> "(same as -E for backwards compatibility)" text?
That's droppable.
> This is what I'm going to do:
>
> -r,-E Use extended regex syntax
I'd prefer listing "-E" first (since that's the POSIX flag),
but otherwise that's great by me.
> > - "regexp-extended\0" No_argument "r"
> > + "regexp-extended\0" No_argument "E"
>
> Does it change any visible behavior?
If you generate docs from this code, then I'd like
"regexp-extended" to say it's the same as "-E", not "-r".
Other it's the same.
--- David A. Wheeler
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic