On 04/30/2014 03:50 AM, Willy-Bas Loos
wrote:
Unless you know this is the only problem (extra/missing tab) I would triage the file with a scripting language. One favourite check is awk '{a[NF]++}END{print "Field count: Record count";for (i in a){printf "%11d : %d", i, a[i]}}If you only have the tab problem you will get two lines of output with field count = N, N-1. Take care in setting the field separator. |