(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 bug-ed@gnu.org https://lists.gnu.org/mailman/listinfo/bug-ed
_______________________________________________ bug-ed mailing list bug-ed@gnu.org https://lists.gnu.org/mailman/listinfo/bug-ed