Options


E

(extended) Uses extended regular expressions (page 903) in place of basic ones.

f

program-file

 

Causes sed to read its program from the file named program-file instead of from the command line. You can use this option more than once on the command line.

i

[suffix]

 

Edits files in place. Without this option sed sends its output to standard output. With this option sed replaces the file it is processing with its output. When you specify a suffix, sed makes a backup of the original file. This backup has the original filename with suffix appended. You must include a period in suffix if you want a period to appear between the original filename and suffix.

n

Causes sed not to copy lines to standard output except as specified by the Print (p) instruction or flag.





A Practical Guide to UNIX[r] for Mac OS[r] X Users
A Practical Guide to UNIX for Mac OS X Users
ISBN: 0131863339
EAN: 2147483647
Year: 2005
Pages: 234

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net