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
Is there a way to modify code to read dates and do the compare so the awk works properly
CODE
awk -F~ 'NR==FNR{A[NR]=$1$10;next}$1$10!=A[FNR]'
CODE
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
Is there a way to modify code to read dates and do the compare so the awk works properly
CODE
awk -F~ 'NR==FNR{A[NR]=$1$10;next}$1$10!=A[FNR]'
CODE