From 2c973a1497b88df3b970b7df316d5ece7730858d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Paul=20H=C3=A4nsch?= Date: Mon, 29 Nov 2021 22:47:34 +0100 Subject: [PATCH] bugfix: assign new tags from text field --- multitag.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/multitag.sh b/multitag.sh index 888ff9d..bbbf946 100755 --- a/multitag.sh +++ b/multitag.sh @@ -6,7 +6,7 @@ newtags='' for tn in $(seq 1 $(POST_COUNT tag)); do newtags="$(POST tag $tn)${BR}${newtags}" done -newtags="$(POST newtag |tr -d '\r' |tr , '\n')${BR}${newtags}" +newtags="$(POST newtagn |tr -d '\r' |tr , '\n')${BR}${newtags}" while [ "${newtags#${BR}}" != "${newtags}" ]; do newtags="${newtags#${BR}}"; done while [ "${newtags%${BR}}" != "${newtags}" ]; do newtags="${newtags%${BR}}"; done -- 2.39.2