Dear all,
I wonder how awk can order by group (first colum) and show only group(s) if all lines of the group have NOK as second field.
Input:
AND OK
AND NOK
AND NOK
VAL OK
VAL OK
VAL OK
MAD NOK
MAD NOK
MAD NOK
Output:
MAD NOK
MAD NOK
MAD NOK
Many thanks,
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.