Answers for "sed remove all lines that start with"

2

delete a line starting with sed

# Delete all lines starting with '#'
$ sed -i '/^#/d' filepath
Posted by: Guest on July-07-2020
0

sed remove all line breaks

tr -d '\n' < input.txt > output.txt
Posted by: Guest on September-22-2021

Code answers related to "sed remove all lines that start with"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language