title: frequency count for file column in bash
body: <p>I have a file with 8 columns using <code>|</code> as a delimiter and I want to count the occurence frequency of the words in the 8th column. I tried awk like this</p>
  <pre><code>awk -F '{print $8}' | sort | uniq -c $FILE 
  </code></pre>
  <p>but I get instead a print of the whole file and I can't understand what I am doing wrong.</p>
  <p><strong>EDIT:</strong> Now I get printed what I want as below:</p>
  <pre><code>1  
  2307 Internet Explorer       
  369 Safari  
  2785 Chrome  
  316 Opera  
  4182 Firefox  
  </code></pre>
  <p>but I can't understand where this &quot;1&quot; come from</p>