On Thu, Jul 9, 2020, 11:13 PM Win Treese <treese@acm.org> wrote:

> On Jul 6, 2020, at 4:48 PM, Clem Cole <clemc@ccc.com> wrote:
>
>>
>> I never thought of that; I've always tried what works in ed, namely:
>>
>> s/foobar/foo\
>> bar
> need a closing / for ed, but ex/vi accepts the naked version.

In the mid 1980s, when I was working at MIT’s Project Athena,
one day Jerry Saltzer (MIT CS professor, known for work on CTSS
and Multics, among other things, and Technical Director for Athena)
called me into his office.

He was trying to edit a file with ed on his IBM PC/RT workstation,
which was running IBM’s variant of 4.2BSD on it, and he wanted
to know why his search

        /foo

wasn’t working.

I typed /foo/, and everything was fine.

He looked at it and muttered, “Oh, you have to end it with a slash?
When I wrote this for CTSS, you didn’t need to do that.”

Kids today.... get off my damn regex...  even turning couldn't complete this lot. Bah

:)

Warner