bug-ed
[Top][All Lists]
Advanced

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

Re: [Bug-ed] specifying ranges


From: vks
Subject: Re: [Bug-ed] specifying ranges
Date: Tue, 22 Oct 2019 16:12:01 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0

(Sent this earlier but forgot to reply to list...)

Type "1,3p <RET>". As far as I know, omitting "p" in this case only prints the
last line processed, i.e. line 3.

vks

On 10/22/19 10:12 AM, Eric Lindblad via bug-ed wrote:

System: Slackware Linux (version 14.2)
CPUs: Intel(R) Atom(TM) CPU N270 @1.60GHz
Deps: ed-1.13.tar.xz

Ranges don't seem to work as demonstrated in opening the below file in ed then 
typing 1,3 RET.

bash-4.3$ ed --version | head -n 1
GNU ed 1.13
bash-4.3$ wc -l geisel
4 geisel
bash-4.3$ cat geisel
one fish
two fish
red fish
blue fish
bash-4.3$

_______________________________________________
bug-ed mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/bug-ed



reply via email to

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