How to delete a line that starts with three #
For example, you need to delete all of the following lines: from a file
1 ### bla bla bal
2 ### blablabla
3 ### blabla
. ,.
thanks Yael
you can also use awk
awk '!/^[ \t]*###/' file
cat file | sed '/^###/d'
Source: https://habr.com/ru/post/1751175/More articles:How to run C # code using C # code? - c #Linux ext2 file system, why is there a delete time? - linuxProblem with Media Player base on iOS4 and iOS3 deployment - iphoneAD0.NET Entity Framework 4.0 or Linq-to-SQL - linqHow to run java code using java code? - javajquery hide not working (NOT IE) - jqueryMinimum HTML Screening Requirements - securityMysql REGEXP, how to make an exact match - regexWeb Socket Questions - javascriptline sed + delete starting with ### includes a space between the beginning of the line and ### - sedAll Articles