X-Git-Url: http://git.plutz.net/?p=clickslide;a=blobdiff_plain;f=cgilite%2Fstorage.sh;fp=cgilite%2Fstorage.sh;h=10a802950465c813001a3aa27f95f2f4a22dd1b7;hp=0d09b262b4d700dac399dbc165ff5250570d16fa;hb=c461819f9bb1a3b13246bd042c3c72ac54ceb929;hpb=8ccb37d9fc6776210e3e63cdffb96ec762af7067 diff --git a/cgilite/storage.sh b/cgilite/storage.sh index 0d09b26..10a8029 100755 --- a/cgilite/storage.sh +++ b/cgilite/storage.sh @@ -1,6 +1,6 @@ #!/bin/sh -# Copyright 2018 Paul Hänsch +# Copyright 2018, 2019 Paul Hänsch # # This is a file format helper, part of CGIlite. # @@ -74,7 +74,7 @@ STRING=' STRING(){ { [ $# -eq 0 ] && cat || printf %s "$*"; } \ - | sed -r ':X; $!{N;bX;}'"$STRING" + | sed -E ':X; $!{N;bX;}'"$STRING" } UNSTRING=' @@ -89,5 +89,5 @@ UNSTRING=' ' UNSTRING(){ { [ $# -eq 0 ] && cat || printf %s "$*"; } \ - | sed -r "$UNSTRING" + | sed -E "$UNSTRING" }