Hi, very well ..thanks...I have one question for number 67..
there is a way to not include the lines which have the pattern..
I have a script which starts something like this (bash)
for i in *out ; do
sed -n '/---------------------------------------------------------------------------/,/-----------------------------------------------------/p' $i > a
sed '1d' a > b
sed '$d' b > c
blahblah
It could save me the next 2 lines...to not include those lines..
I am being sponsored by Syntress! They bought me an amazing dedicated server to run catonmat on. If you're looking web services, I highly recommend the Syntress guys!
Education Sponsors
I am being sponsored by A-Writer! If you ever need help with essay writing, look no further than A-Writer! They will help you with your writing in as quickly as 3 hours!
Hi, very well ..thanks...I have one question for number 67..
there is a way to not include the lines which have the pattern..
I have a script which starts something like this (bash)
for i in *out ; do
sed -n '/---------------------------------------------------------------------------/,/-----------------------------------------------------/p' $i > a
sed '1d' a > b
sed '$d' b > c
blahblah
It could save me the next 2 lines...to not include those lines..
again thanks
Reply To This Comment