Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!philabs!seismo!hao!hplabs!sri-unix!mike@brl-vgr From: mike@brl-vgr@sri-unix.UUCP Newsgroups: net.unix-wizards Subject: Re: ed Message-ID: <12056@sri-arpa.UUCP> Date: Sun, 2-Oct-83 01:31:46 EDT Article-I.D.: sri-arpa.12056 Posted: Sun Oct 2 01:31:46 1983 Date-Received: Fri, 30-Sep-83 00:19:27 EDT Lines: 23 From: Mike Muuss Yup; I added that particular feature to V6 ED a long long time ago (ca. 1977). The syntax I chose was: s delim old-pattern delim new-pattern delim [range] [command] eg, s/old/new/2,4p s/old/new/5 etc. (Heavily commented) ED source code, upon request, to licensed UNIX sites (sigh). -Mike Muuss PS: it is exactly this sort of command that I still drop out of EMACS and into ED for, every once in a while: g/frobnitz/s/this/that/3,7p