Is there an AND operator that can be used in regular expressions?
If I have a file as below...
file
----
big bad ugly
ugly big bad
big
bad
ugly
.. how can I extract the lines that contain all of {big, bad, ugly}?
I know I could do this by piping the result of one grep into another,
but can it be done in one go?
--
Posted via http://dbforums.com