Deleting lines that start with any string
Posted: Wed Jul 28, 2004 4:02 pm
Hi,
I just want to delete lines that starts with any string.
ex. reports number
1) sed '/^reports number/d'
2) ^reports number*$
ect... It does not work. Does anyone knoews the syntax?
Thanks
I just want to delete lines that starts with any string.
ex. reports number
1) sed '/^reports number/d'
2) ^reports number*$
ect... It does not work. Does anyone knoews the syntax?
Thanks