awk '{print $2}' 'File01.txt' | sort | uniq -c > TempTQ01.txt ;

Are we are still talking about the same task? I gave you a simple solution already. How counting how many times each value occurs in the second field is useful? It is what the above command does.

join -a 2 -1 1 -2 1

Reply via email to