Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

delete lines text file linux

sed -i '' '/pattern to match/d' ./infile
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #delete #lines #text #file #linux
ADD COMMENT
Topic
Name
9+9 =