Link to home
Start Free TrialLog in
Avatar of jamie_lynn
jamie_lynn

asked on

How do I write a sed command to delete a row if it doesn't contain certain words?

Hi
How do I write a sed command to delete a row if it doesn't contain certain words?

ie.
If the line doesn't contain "Houston", "Dallas", or "Austin", I wan to delete the line

Thanks
Jamie
ASKER CERTIFIED SOLUTION
Avatar of Mazdajai
Mazdajai
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial