Thread
:
Find pattern in a file and erase it
View Single Post
#
2
(View Single Post)
24th June 2008
lvlamb
Real Name: Louis V. Lambrecht
Spam Deminer
Join Date: May 2008
Location: .be
Posts: 221
Quote:
sed -n '/pattern/{N;N;d;}' input.file
In love with one-liners.
__________________
da more I know I know I know nuttin'
Last edited by lvlamb; 24th June 2008 at
09:22 PM
.
lvlamb
View Public Profile
Find all posts by lvlamb