Answers for "sed command delete certain lines"

6

sed remove line containing

sed '/pattern to match/d' ./infile
Posted by: Guest on December-23-2020
0

How to remove every other line with sed?

ls -l | sed '1~2d'
Posted by: Guest on July-27-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language