title: Grabbing text from html source
body: <pre><code>#!/bin/sh
  
  URL1=http://runescape.com/title.ws
  tot=`wget  -qO- $URL1  | grep -i PlayerCount | cut -d\&gt; -f4 | cut -d\&lt; -f1 | sed -e's/,//'`
  URL2=http://oldschool.runescape.com
  b=`wget -qO- $URL2| grep "people playing" | awk '{print $4}'`
  a=`expr $tot - $b`
  export LC_ALL=en_US.UTF-8
  a_with_comma=`echo $a | awk "{printf \"%'d\n\", \\$1}"`
  echo "$a_with_comma people `date '+%r %b %d %Y'`"
  </code></pre>
  
  <p>This grabs 2 numbers from URL1 and URL2 and subtracts URL1 from URL2. Trying to get the "48,877 Players Online Now" from <a href="http://www.runescape.com/title.ws" rel="nofollow">http://www.runescape.com/title.ws</a> (URL1)</p>
  
  <p>URL2 works fine I just can't get URL1.</p>