diff options
Diffstat (limited to 'games/hku')
-rwxr-xr-x | games/hku | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/games/hku b/games/hku deleted file mode 100755 index 4deb7460..00000000 --- a/games/hku +++ /dev/null @@ -1,17 +0,0 @@ -#!/usr/bin/env bash -hash syl || exit -declare -a lsts ws -lsts=(5 7 5) -for ((lc=0;lc<${#lsts[@]};lc++)) ; do - ws=() - for ((sc=0;sc<lsts[lc];)) ; do - read -r wr - sy=$(syl "$wr") - ((sy<=lsts[lc]-sc)) || continue - ws[${#ws[@]}]=$wr - ((sc+=sy)) - done - printf '%s\n' "${ws[*]}" -done < <(shuf "${@:-/usr/share/dict/words}" | - grep -v \'s\$) | - tr '[:upper:]' '[:lower:]' |