title: Finding the longest word in a text file
body: <p>I am trying to make a a simple script of finding the largest word and its number/length in a text file using bash. I know when I use awk its simple and straight forward but I want to try and use this method...lets say I know if <code>a=wmememememe</code> and if I want to find the length I can use <code>echo {#a}</code> its word I would <code>echo ${a}</code>. But I want to apply it on this below</p>
  
  <pre><code>for i in `cat so.txt` do
  </code></pre>
  
  <p>Where so.txt contains words, I hope it makes sense.</p>