How to remove line that begins with three #
For example need to delete all the following lines: from file
1 ### bla bla bal
2 ###blablabla
3 ### blabla
. . .
THX Yael
cat file | sed '/^###/d'
you can use awk as well
awk '!/^[ \t]*###/' file
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With