Matthew Woehlke <[EMAIL PROTECTED]> wrote:
> Steven Schubiger wrote:
>> Would `linecut --range 1:2,3:4,-100:-1` be considered sensible?
>
> Do you plan to have a means of specifying a number of lines? E.g.:
>
> $ seq 10 | linecut --range 5,+3
> 5
> 6
> 7
> $
>
> @Jim, 'addr1,addr2' syntax belongs to sed, so I would argue it isn't
> "new". It's also easier to type when specifying only one range :-).

Sure, but sed doesn't have the notion of a *sequence* of ranges,
so it doesn't have to worry about parsing more than one.
Compare with cut, which does.


_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to