SED notes from the Ultrix32 Supplementary Documents
Volume 1, General users
aa-bg66a-te
Page 3-105; (m) corcoran 26Jul1990
Command line flags:
-n tells sed not to copy all lines; but only those specified
by p functions or p flags after s functions.
-e tells sed to take the next argument as an editing command.
-f tells sed to take the next argument as a filename.
this file should contain editing commands, one per line.
Regular expressions:
enclosed in / /
^ matches leading null
$ matches trailing null
*, [] as usual
. matches any char except terminal newline
special chars:
^ $ . * [ ] \ /
literal quote char:= \
Please read The Standard Disclaimer regarding information found in these pages.
To return to the top of the Corcoran document archives Click Here
If you came here directly from a search engine, and would like to view these pages in the proper frames from the top, Start Here
Or start at the very top of Mike Corcoran's home page