From: Paul Hänsch <paul@plutz.net>
Date: Wed, 18 Jul 2018 14:28:40 +0000 (+0200)
Subject: bugfix: pipeline use for STRING()
X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=ec06ef45d19a1a76462e5f871e0c40ce6c5b4f4e;p=cgilite

bugfix: pipeline use for STRING()
---

diff --git a/storage.sh b/storage.sh
index fd75820..0d09b26 100755
--- a/storage.sh
+++ b/storage.sh
@@ -74,7 +74,7 @@ STRING='
 
 STRING(){
   { [ $# -eq 0 ] && cat || printf %s "$*"; } \
-  | printf %s "$*" |sed -r ':X; $!{N;bX;}'"$STRING"
+  | sed -r ':X; $!{N;bX;}'"$STRING"
 }
 
 UNSTRING='