title: Search for MAC Manufacturer information using /var/lib/ieee-data/oui.txt
body: <p>I am trying to automatically detect the manufacturers of WiFi cards so that a user can easily decide which card to put into monitormode. <code>$manu0</code> won't output any information , What is wrong with <code>oui.txt</code> ?</p>
  
  <pre><code>        ifconfig &gt; $tmp00
      mac0=$(cat $tmp00 |grep -A4 "^${int}"|grep 'ether'|grep -o '..:'|cut -d ':' -f 1|printf "%s" $(sed -e '4,10d;11q'))
      echo $mac0
      manu0=$(cat /var/lib/ieee-data/oui.txt| grep -i '^${mac0}'|cut -d ' ' -f 7)
  #attempt to echo variables    
  echo $int &amp;&amp; echo $manu0
  #attempt to echo variables with string
  echo "${int} is a  ${manu0}"
  </code></pre>
  
  <p>OUTPUT: </p>
  
  <pre><code>acfdce
  wlan0
  
  wlan0 is a  
  </code></pre>