From f99381164947d93f77f59123c73f6b7874e07e18 Mon Sep 17 00:00:00 2001 From: celso Date: Mon, 19 Jun 2023 16:48:01 -0300 Subject: [PATCH] fixed utf-16 function to correctly print ampersand --- getvods.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/getvods.sh b/getvods.sh index 78612ac..cf40d07 100755 --- a/getvods.sh +++ b/getvods.sh @@ -124,7 +124,7 @@ utf-16-surrogate-pair-decode() { remain="$(printf '\\U%8.8x' "${U}")${BASH_REMATCH[4]}${remain}" out="${BASH_REMATCH[1]}" done - printf "%s%s\n" "${out}" "${remain}" + printf "${out}${remain}\n" } printf "VODs of ${login}\n"