bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RFC] linecut addition


From: Matthew Woehlke
Subject: Re: [RFC] linecut addition
Date: Tue, 09 Oct 2007 12:49:44 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.6) Gecko/20070728 Thunderbird/2.0.0.6 Mnenhy/0.7.5.0

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 :-).

Btw, how do you match 5 through end? '5,-0'? What does a reversed range (e.g. '5,2') match?

--
Matthew
morphir: so much confusion :S kmake, kdemake, qmake make cmake etc.
logixoul: you forgot cmakekde :)
morphir: and bakemeacake





reply via email to

[Prev in Thread] Current Thread [Next in Thread]