bug-ed
[Top][All Lists]
Advanced

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

Re: [Bug-ed] specifying ranges


From: John Cowan
Subject: Re: [Bug-ed] specifying ranges
Date: Tue, 22 Oct 2019 15:21:31 -0400

Exactly as expected.  You have said "1,3" which sets dot to 3.  Then you
give it the null command, which is equivalent to .+1p.  So naturally it
prints line 4.



On Tue, Oct 22, 2019 at 11:34 AM Eric Lindblad via bug-ed <address@hidden>
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]