Editing a file with bash...

Viktor Lazlo viktorlazlo at telus.net
Wed Oct 29 07:12:51 PST 2003



On Wed, 29 Oct 2003, Xpression wrote:

> Hi list, can I edit a file and delete a line by searching any parameter with
> bash ??? Thanks...

sed '/searchstring/d' file1 >file2

Cheers,

Viktor


More information about the freebsd-questions mailing list