aasislopez
IS-IT--Management
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,
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,