moth/src/mktoken

13 lines
211 B
Plaintext
Raw Normal View History

2011-03-14 17:13:25 -06:00
#! /bin/sh
case "$1" in
""|"-h"|"--help")
echo "Usage: $0 CATEGORY [POINTS]"
exit
esac
2011-11-03 18:51:28 -06:00
bb=$(dd bs=1 count=5 if=/dev/urandom 2>/dev/null | bubblebabble)
2011-03-14 17:13:25 -06:00
points=$2${2:+:}
echo $1:$points$bb