[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-ed] Invalid command "ppp" accepted without error
From: |
Ori Avtalion |
Subject: |
Re: [Bug-ed] Invalid command "ppp" accepted without error |
Date: |
Sun, 28 Feb 2016 00:03:11 +0200 |
On Sat, Feb 27, 2016 at 11:14 PM, Martin Guy <address@hidden> wrote:
> Moral: don't use them in scripts meant to be portable.
> What does original ed do?
>
How original do you want to get? :)
There's a Unix V5 (*not System V*) running in Javascript here:
http://skn.noip.me/pdp11/pdp11.html
To run, type:
boot
unix
root
You can run ed on /etc/passwd.
"pp" works and prints the line twice.
"ppp" doesn't work but neither does "pl", "pn".
"n" prints an empty line. "l" doesn't print a dollar sign at the end
of the line.