Posted on 04-10-2015 07:53 AM
#!/bin/sh RESULT1=`/usr/bin/profiles -L | tail -n 1 | cut -d':' -f2` RESULT=`grep -o "[0-9]" <<< "$RESULT1"` echo "<result>$RESULT</result>" exit 0