unprophete
Technical User
I need to get lines which have not "active" or "online" on 6th field. Is the below command reliable?
awk '$6 != "active" || $6 != "online" {print $0}' filename
or maybe it can be changed with something with single $6 in the command like:
awk '$6 != ""active" || "online"" {print $0}' filename
????
thank you.
awk '$6 != "active" || $6 != "online" {print $0}' filename
or maybe it can be changed with something with single $6 in the command like:
awk '$6 != ""active" || "online"" {print $0}' filename
????
thank you.