Sed question

Corey Chandler lists at sequestered.net
Sun Dec 21 07:28:32 UTC 2008


Gary Kline wrote:
> 	how can i delete, say, lines 8,9,and 10 from 200 files
> 	using sed?  Is it
>
> 	sed '8,10d'< file> newfile
> 	or is there a better way?
>
>   
I'd stick it in a for loop using inplace editing, but yes. :-)



More information about the freebsd-questions mailing list