Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!decvax!duke!unc!mcnc!dvamc!ccw From: ccw@dvamc.UUCP Newsgroups: net.unix-wizards Subject: Re: ed Message-ID: <1090@dvamc.UUCP> Date: Thu, 29-Sep-83 10:36:02 EDT Article-I.D.: dvamc.1090 Posted: Thu Sep 29 10:36:02 1983 Date-Received: Sun, 2-Oct-83 02:05:55 EDT Lines: 12 References: bronze.772 When trying to change the nth occurance of a string using "ed" I use "s/string/new_string/i". "ed" then prints the line, does a newline and puts some carrot symbols under the section to be changed. You the either type "s" or newline. I'm NOT sure that the use of "i" in this case is standard. It may be a local change. If it is, and there is sufficient interest, I fish out the section of code that does this and post it. Chris Woodbury decvax!mcnc!dvamc!ccw