DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SHELL
delete lines that contain a pattern in unix
sed -i '/pattern to match/d' ./infile
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#delete
#lines
#pattern
#unix
ADD COMMENT
Topic
COMMENT
Name
9+6 =
Submit