in reply to delete a line by a string
(note that it's not safe to output to the same file you're inputting from)cat mydata | grep -v "my strange string" > my_new_data
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: delete a line by a string
by chromatic (Archbishop) on Apr 02, 2003 at 16:56 UTC | |
|
Re: delete a line by a string
by crenz (Priest) on Apr 02, 2003 at 16:57 UTC | |
|
Re: Re: delete a line by a string
by Anonymous Monk on Apr 02, 2003 at 17:52 UTC |