Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!mcvax!ukc!cstvax!hwcs!pjbk From: pjbk@cs.hw.AC.UK (Peter King) Newsgroups: net.bugs.4bsd Subject: Re: "sed" supports comments, but this is undocumented Message-ID: <885@brahma.cs.hw.AC.UK> Date: Tue, 5-Aug-86 05:43:42 EDT Article-I.D.: brahma.885 Posted: Tue Aug 5 05:43:42 1986 Date-Received: Wed, 20-Aug-86 23:30:04 EDT References: <5671@sun.uucp> Reply-To: pjbk@cs.hw.AC.UK (Peter King) Distribution: net Organization: Computer Science, Heriot-Watt U., Scotland Lines: 15 The other undocumented feature of "sed" that is perhaps more useful, particularly when preparing shell scripts and makefiles is the ability to have several commands on the same line separated by ';' e.g. /xyz/s/xy/yx/ /abc/d can be replaced by /xyz/s/xy/yx/;/abc/d -- Peter King, Heriot-Watt University JANET: pjbk@uk.ac.hw.cs ARPA: pjbk@cs.hw.ac.uk or - pjbk%cs.hw.ac.uk@ucl-cs UUCP: ..!ukc!cs.hw.ac.uk!pjbk