LinuxQuestions.org
(
/questions/
)
-
Linux - Newbie
(
https://www.linuxquestions.org/questions/linux-newbie-8/
)
- -
sed command
(
https://www.linuxquestions.org/questions/linux-newbie-8/sed-command-502421/
)
Fond_of_Opensource
11-17-2006 01:44 AM
sed command
what is the sed command to delete all lines from a file containing a given pattern?
bathory
11-17-2006 02:21 AM
You should use:
Code:
sed '/pattern/d'
pixellany
11-17-2006 08:11 AM
Good sed tutorial:
http://www.grymoire.com/Unix/Sed.html#uh-8
All times are GMT -5. The time now is
09:14 PM
.