My Tech Notes
Search This Blog
sed: delete matching lines
sed -i.bak '/pattern/d' input.txt
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment