aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-07-08 12:43:41 +1200
committerTom Ryder <tom@sanctum.geek.nz>2016-07-08 12:43:41 +1200
commit31f8d3b9f752c4064f3518c3c78e071b021eeb90 (patch)
tree64f105a0e98f220b2cb8fe6b0ed612af71e3bf5e /games
parentAllow providing wordlist to hku (diff)
downloaddotfiles-31f8d3b9f752c4064f3518c3c78e071b021eeb90.tar.gz
dotfiles-31f8d3b9f752c4064f3518c3c78e071b021eeb90.zip
Incremental improvement to syl heuristic
Diffstat (limited to 'games')
-rwxr-xr-xgames/syl2
1 files changed, 1 insertions, 1 deletions
diff --git a/games/syl b/games/syl
index 85f68625..0580a293 100755
--- a/games/syl
+++ b/games/syl
@@ -11,7 +11,7 @@ for ((i=0;i<${#word};i++)); do
fi
done
case $word in
- *[aeiou][^aeiou]e|*ed)
+ *[aeiou][^aeiou]e|*[lc]ed)
((syls > 1)) && ((syls--))
;;
esac