From 7453d71879a8ca9581f53844b9f093be6ddc1439 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Paul=20H=C3=A4nsch?= Date: Tue, 22 Feb 2022 18:55:24 +0100 Subject: [PATCH] bugfix double decoding in fullname function leads to record discard --- list.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/list.sh b/list.sh index b57e4e4..dd5c83d 100755 --- a/list.sh +++ b/list.sh @@ -55,7 +55,7 @@ list_item() { )" list_fullname(){ - local short="$(UNSTRING "${1%${CR}}")" file + local short="$1" file file="$(printf %s\\n "$_DATA/$ITEM/$short".*)" file="${file%%${BR}*}" [ -e "$file" ] && printf %s\\n "${file#${_DATA}/${ITEM}/}" -- 2.39.2