Search Results

Search: Posts Made By: zeev
6,758
Posted By neutronscott
I believe awk would be easier. Your logic would...
I believe awk would be easier. Your logic would be ! ( /^Eat/ && ! /apple/), or, following De Morgan's law:


$ awk '! /^Eat/ || /apple/' input
Drink a soda
Drink an apple juice
Eat an apple...
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 06:21 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy