Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #! /bin/bash
- #
- # i am saying it for the n'th time!
- # e.g.
- # shoes 4 # only repeat myself 4 times
- # shoes # 10 times by default
- #
- # ds 2017-11-18
- if [[ $1 == "" ]]; then
- n=10
- else
- n=$1
- fi
- for i in $(seq 1 ${n}); do
- nth=$(Rscript -e "cat(toOrdinal::toOrdinal(${i}))")
- say "For the ${nth} time. [[slnc 400]] Put on your shoes...";
- done
Add Comment
Please, Sign In to add comment