$string=`uptime`; $string=~/.*?up (.*?,.*?),/; print "$1\n"; [download]
In reply to RE: parsing output of uptime by vroom in thread parsing output of uptime by mattman