Do not feed the »is« to textsynth. - annna - Annna the nice friendly bot.
(HTM) git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/annna/
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Tags
(DIR) README
---
(DIR) commit e0a2faefb2c90018974cce640ef26e54c182d8ba
(DIR) parent f07f1c5736ebc59137baadfed9ca110a90e2953a
(HTM) Author: Annna Robert-Houdin <annna@bitreich.org>
Date: Tue, 12 May 2020 13:02:05 +0200
Do not feed the »is« to textsynth.
Diffstat:
M annna-start-services | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/annna-start-services b/annna-start-services
@@ -269,7 +269,7 @@ then
annna-say -c '#bitreich-en' "${purl}"
;;
"${botname}, textsynth is "*)
- word="$(printf "%s\n" "${text}" | cut -c 17- | sed 's,\t, ,g')"
+ word="$(printf "%s\n" "${text}" | cut -c 20- | sed 's,\t, ,g')"
case "$word" in
*\?)
word="$(printf "%s\n" "${word}" | cut -c -"$(($(expr length "${word}") - 1))")"