# present code and output DEMO_VERSION=$(wget --quiet http://tovid.googlecode.com/svn/trunk/tovid/ -O - | awk '/Revision/ {print $2}' |awk -F: 'END{print $1}') $ echo $DEMO_VERSION 2190 # actual content $ DEMO_VERSION=$(wget --quiet http://tovid.googlecode.com/svn/trunk/tovid/ -O -) [robert@phebehouse tovid] $ echo "$DEMO_VERSION"