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. :-)

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to