Mercurial > repo
view bin/leann @ 11190:e663bb69ea50
<oerjan> learn Fizzbuzz is the enterprise version of counting, where you replace certain numbers by buzzwords.
author | HackBot |
---|---|
date | Mon, 04 Sep 2017 02:21:02 +0000 |
parents | c989a1669243 |
children | 0b26b70b01cf |
line wrap: on
line source
(($#==1)) && set -- "${1% *}" "${1#* }"; key=${1,,}; shift; cat <<< "${*,,}" > "wisdom/$key" && echo "Learned «$key»"