Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/ii-answer3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/ii-answer b/bin/ii-answer
index de6d3c9..886a548 100755
--- a/bin/ii-answer
+++ b/bin/ii-answer
@@ -159,6 +159,9 @@ find "${irc_dir}" \
sort -u
)
if [ -n "${askers}" ]; then
+ # markov's source is there: https://git.eckner.net/Erich/markov
+ # its parameters are: a word list, the depth of the markov chain
+ # and the count of words to print
"${base_dir}/bin/markov" ~/.words.irc 3 "$(printf '%s\n' "${askers}" | wc -l)" | \
for asker in ${askers}; do
if ! read -r random; then