how to find/print all records that are not blank in column 2
it must be some variation of this
# delete ALL blank lines from a file (same as "grep '.' ")
awk NF
awk '/./'
I have this code to compare columns 1 and 10 between file1 and file 2 and give me all records that match column 1 but dont match column 10
However column 10 is date format mm/dd/yy and awk cant read it and compare ...i tried
CODE
awk < file1 -F~ '{print $10}'
CODE
and it gave blank screen...
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.