While using AWK, I'd like to verify that the NF is = 10. If not, write the line to a reject file
While using AWK, I'd like to verify that the NF is = 10. If not, write the line to a reject file
I hope you found a solution that worked for you :)
The Content is licensed under (https://meta.stackexchange.com/help/licensing) CC BY-SA.
Attention! This video does always use the same license as the source!
Thanks to all those great people for their contributions!
(stackoverflow.com/users/22037587/james-p)James P
(stackoverflow.com/users/298607/dawg)dawg
(stackoverflow.com/users/2221001/jnevill)JNevill
(stackoverflow.com/users/548225/anubhava)anubhava
(stackoverflow.com/users/1745001/ed-morton)Ed Morton
(stackoverflow.com/users/1773798/renaud-pacalet)Renaud Pacalet
A special thanks goes out to the (stackoverflow.com/questions/79247992/while-using-awk-id-like-to-verify-that-the-nf-is-10-if-not-write-the-line)Stackexchange community
I wish you all a wonderful day! Stay safe :)
If anything is off, please write me at peter D.O.T schneider A.T ois42.de
awk bash