Article View: net.bugs.4bsd
Article #1638Re: "sed" supports comments, but this is undocumented
From: Peter King
Date: Tue, 05 Aug 1986 09:43
Date: Tue, 05 Aug 1986 09:43
15 lines
1020 bytes
1020 bytes
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
Technical Details
Message-ID:
<885@brahma.cs.hw.AC.UK>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!seismo!mcvax!ukc!cstvax!hwcs!pjbkReferences:
<5671@sun.uucp>Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!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