No need for annna-cmd to shorten lines, we are going directly into ii. - annna - Annna the nice friendly bot.
HTML git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/annna/
DIR Log
DIR Files
DIR Refs
DIR Tags
DIR README
---
DIR commit c13e8702bd633b79b0e779e36d6c9d739f91ba22
DIR parent 75f307592ba6f114095939c0ddd51da0ff408356
HTML Author: Annna Robert-Houdin <annna@bitreich.org>
Date: Wed, 27 Dec 2023 14:43:15 +0100
No need for annna-cmd to shorten lines, we are going directly into ii.
* No IRC bottleneck is used.
Diffstat:
M annna-say | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
---
DIR diff --git a/annna-say b/annna-say
@@ -68,13 +68,8 @@ do
printf "%s\n" "$@" | fold -w 250 -s > "${ircpath}/${outfile}"
;;
"out")
- printf "%s\n" "$@" \
- | fold -w 250 -s \
- | while read -r line;
- do
- printf "%s <%s> %s\n" "$(date +s)" "annna-cmd" "$line" \
+ printf "%s <%s> %s\n" "$(date +s)" "annna-cmd" "$@" \
> "${ircpath}/${outfile}"
- done
;;
esac
else