HP-UX Reference (11i v1 05/09) - 1 User Commands N-Z (vol 2)

s
sed(1) sed(1)
sed -e ’s/abc/xyz/’ -e ’s/lmn/rst/’ file1 >file1.out
or
sed -e ’s/abc/xyz/’ \
-e ’s/lmn/rst/’ \
file1 >file1.out
WARNINGS
sed limits command scripts to a total of not more than 100 commands.
The hold space is limited to 8192 characters.
sed processes only text files. See the glossary for a definition of text files and their limitations.
AUTHOR
sed was developed by OSF and HP.
SEE ALSO
awk(1), ed(1), grep(1), environ(5), lang(5), regexp(5)
sed: A Non-Interactive Streaming Editor tutorial in the Text Processing Users Guide.
STANDARDS CONFORMANCE
sed: SVID2, SVID3, XPG2, XPG3, XPG4, POSIX.2
HP-UX 11i Version 1: September 2005 4 Hewlett-Packard Company Section 1873