From c207699d7f39ce4bf96139e25da61e13cb94be4c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Paul=20H=C3=A4nsch?= Date: Wed, 14 Apr 2021 17:48:06 +0200 Subject: [PATCH] bugfix: fix error when reading literal "+" char from storage --- storage.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storage.sh b/storage.sh index 82d3d77..355bd56 100755 --- a/storage.sh +++ b/storage.sh @@ -105,7 +105,7 @@ UNSTRING(){ \\n*) out="${out}${BR}"; in="${in#\\n}" ;; \\r*) out="${out}${CR}"; in="${in#\\r}" ;; \\t*) out="${out} "; in="${in#\\t}" ;; - \\+) out="${out}+"; in="${in#\\+}" ;; + \\+*) out="${out}+"; in="${in#\\+}" ;; +*) out="${out} "; in="${in#+}" ;; \\*) in="${in#\\}" ;; *) out="${out}${in%%[\\+]*}"; in="${in#"${in%%[\\+]*}"}" ;; -- 2.39.2