lolaferrari
asked on
egrep -v not working
If I have a file like this
file:
ENV
TEST=blah
head
tail
if I want to egrep -v '(^ENV|^TEST^head)' it doesn't seem to work - any idea?
file:
ENV
TEST=blah
head
tail
if I want to egrep -v '(^ENV|^TEST^head)' it doesn't seem to work - any idea?
ASKER
I don't understand the difference :(
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Did you want to do
egrep -v '(^ENV|^TEST|^head)'
or
egrep -v '^(ENV|TEST|head)'