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 16:57:56 -0400

Plan 9's ed is not a Posix ed, so it can do whatever its author wants.

On Tue, Oct 22, 2019 at 4:57 PM Eric Lindblad <address@hidden> wrote:

> switched OS (forgot to add "p")
>
> Plan 9
>
> % ed geisel
> 37
> 1,3
> one fish
> two fish
> red fish
> q
> %
> On Tuesday, October 22, 2019, 7:46:19 PM GMT+2, vks <address@hidden>
> wrote:
>
>
> Type "1,3p <RET>". As far as I know, omitting "p" in this case only prints 
> the last line processed, i.e. line 3vks
>
> 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.60GHzDeps: ed-1.13.tar.xzRanges 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 1GNU ed 1.13bash-4.3$ wc -l geisel4 geiselbash-4.3$ cat geiselone 
> fishtwo fishred fishblue 
> fishbash-4.3$_______________________________________________bug-ed mailing 
> listbug-ed@gnu.orghttps://lists.gnu.org/mailman/listinfo/bug-ed
>
>


reply via email to

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