"sed" supports comments, but this is undocumented
Peter King
pjbk at cs.hw.AC.UK
Tue Aug 5 19:43:42 AEST 1986
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 at uk.ac.hw.cs
ARPA: pjbk at cs.hw.ac.uk
or - pjbk%cs.hw.ac.uk at ucl-cs
UUCP: ..!ukc!cs.hw.ac.uk!pjbk
More information about the Comp.bugs.4bsd.ucb-fixes
mailing list