#! /bin/bash
user=USERNAME
let count=$count+1
karma=$(
curl --connect-timeout 1 -fsm 3 http://www.reddit.com/user/$user/about.json |
awk '{match($0, "k_karma\": ([0-9]+)", a);
match($0, "t_karma\": ([0-9]+)", b);
print "L:", a[1], "C:", b[1];}'
)
echo $karma