tags:

views:

32

answers:

1

hi all hi 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 ###

THX Yael

A: 
sed -i '/^[ \t]*###/d' file
unbeli