Improved version (I saw the old one got deleted anyway, but in case someone else does find it useful - I certainly do - I'll post it again).
Replace NNNNN and password with what's appropriate for your account. It usefully prints out a calendar and the date as well for the temporally challenged like me...
#!/bin/sh
USER="[email protected]"
PASS="password"
URL="http://adsl.telkomsa.net/cgi-bin/onlineGraph.cgi?userName=$USER&password=$PASS"
curl -s $URL | sed -ne 's/.*<i>\W*\(Total usage for.*\)\W*<\/i>.*/\1/p'
echo
cal
date
echo
Replace NNNNN and password with what's appropriate for your account. It usefully prints out a calendar and the date as well for the temporally challenged like me...
#!/bin/sh
USER="[email protected]"
PASS="password"
URL="http://adsl.telkomsa.net/cgi-bin/onlineGraph.cgi?userName=$USER&password=$PASS"
curl -s $URL | sed -ne 's/.*<i>\W*\(Total usage for.*\)\W*<\/i>.*/\1/p'
echo
cal
date
echo