Using the SED Command (Unix)

Using the SED Command (Unix)

 

  

To All,
I want to delete the first 100 lines out of a text file using sed. I
typed the following sed command:

sed '1,100d' < test1.txt

Does sed allow you to use a variable instead of using the "100"? If so,
how do you use it?



--------
website: http://www.LazyDBA.com
Please don't reply to RTFM questions
Oracle documentation is here: http://tahiti.oracle.com
To unsubscribe: see http://www.lazydba.com/unsubscribe.html
To subscribe: see http://www.lazydba.com
By using this list you agree to these
terms:http://www.lazydba.com/legal.html

Oracle LazyDBA home page