title: UNIX - I want to find in a text file the records which have more columns than expected and their line numbers
body: <p>I have a file with pipe delimiter and one record has more columns than expected.</p>
  <p>For example:</p>
  <p>File NPS.txt</p>
  <pre><code>1|a|10
  2|b|20
  3|c|30
  4|d|40|old
  </code></pre>
  <p>The last column has more columns than expected and I want to know the line number to understand what the problem is.</p>
  <p>I found this command:</p>
  <pre><code>awk -F\; '{print NF}' NPS.txt | sort | uniq -c  
  </code></pre>
  <p>With this command I know that one columns has one column added but I do not know which one is.</p>