dotfiles/bin/todolist.sh
2016-10-16 03:48:44 -05:00

23 lines
292 B
Bash
Executable file

#!/bin/sh
# generates todolist
arg="$1"
usage()
{
echo "Usage: $(basename "$0") <max range value>"
echo "Example: $(basename $0) 10 - would make a todolist with 1..10 values."
exit 1
}
list()
{
echo "Todolist for: $(date +%m_%d_%y)"
for i in $(seq $arg)
do
echo $i
done
}
list