Options

 < Day Day Up > 

file program-file

 

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.

in-place[=suffix]

 

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.

help

 

Summarizes how to use sed.

quiet or silent

n

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


     < Day Day Up > 


    A Practical Guide to LinuxR Commands, Editors, and Shell Programming
    A Practical Guide to LinuxR Commands, Editors, and Shell Programming
    ISBN: 131478230
    EAN: N/A
    Year: 2005
    Pages: 213

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