I have a pipe delimited file that contains lines I need to exclude (using the -v flag) from my processing. If it were any one of multiple values, no sweat - I do that already.
However, this particular instance involves pulling (or ignoring) any line which contains all three specified values.
Example: if the line has 'v1, 'v2' and 'v3' in it, I want to ignore it ... if it has any combination of two of these, or any one of them by itself, I want to keep it.
Thoughts?
Thanks as always in advance for the assistance.
Tom
"My mind is like a steel whatchamacallit ...
However, this particular instance involves pulling (or ignoring) any line which contains all three specified values.
Example: if the line has 'v1, 'v2' and 'v3' in it, I want to ignore it ... if it has any combination of two of these, or any one of them by itself, I want to keep it.
Thoughts?
Thanks as always in advance for the assistance.
Tom
"My mind is like a steel whatchamacallit ...