marvvin

IRC bot
Log | Files | Refs | README | LICENSE

commit 5c68301970584c1b57895d94e48ab206cd22096c
parent d72e014b5aae578af259cdaae52a4aee8bfed627
Author: hhvn <dev@hhvn.uk>
Date:   Wed, 13 Oct 2021 15:42:35 +0100

b/backronym: portable printf

Diffstat:
Mbin/backronym | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/backronym b/bin/backronym @@ -3,7 +3,7 @@ printf "$@: " for a in $(echo "$@" | sed 's/./& /g') do - [ "$a" = "-" ] && printf -- "- " + [ "$a" = "-" ] && printf "%s" "- " grep -i "^$a" < data/dict | shuf | head -n 1 | tr '\n' ' ' done echo