From: Paul Hänsch Date: Tue, 17 Jul 2018 01:16:06 +0000 (+0200) Subject: strip multi slash sequences in PATH function X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=b1d4b7df6ead24f4c8e25797ae242287e73e9d59;p=cgilite strip multi slash sequences in PATH function --- diff --git a/cgilite.sh b/cgilite.sh index 2930a4c..0c9582b 100755 --- a/cgilite.sh +++ b/cgilite.sh @@ -181,7 +181,8 @@ PATH(){ tX; s;/[^/]+/\.\./;/;; tX; - s;^(/.*)/$;\1;' + s;^(/.*)/$;\1; + s;/+;/;g;' }