Grep (sed) construct

John Galbrit jgalbrit at
Wed Jan 15 14:57:08 PST 2003

I'm having a problem with sed and/or grep. I've got a file with
something like:

one two ${three} ${four}
one two ${three} ${five}
one two ${three} ${six}

I need to sed out the third and fourth lines without destroying the
other lines, yet I can't seem to figure out how to match _only_ 'one'
(which only occurs in those 3 lines) without ${six}. Any ideas would be
greatly appreciated. :D

John Galbrit

Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
Unsubscribe: send email to listar at
and put 'unsubscribe blfs-support' in the subject header of the message

More information about the blfs-support mailing list