Reputation: 2913
I have:
sed -i '/^###/d' file
How to change the sed syntax in order to react like awk syntax?
awk '!/^[ \t]*###/' file
for example sed need to delete line that begin with space or TAB and then ###
?
Upvotes: 2
Views: 2647