commit 05c3e87eec9f13a8f9c8d40b53847c38fb40daab
parent e34954a54cdfa53fa029c2e2bf55fe1af9b0910f
Author: Jacob R. Edwards <jacobouno@protonmail.com>
Date: Sat, 16 Oct 2021 02:05:47 -0700
Fix punctuation character class in cleanpath script
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/local/bin/bin/cleanpath b/local/bin/bin/cleanpath
@@ -11,7 +11,7 @@
sed -E 's/([^A-Z])([A-Z][^A-Z])/\1 \2/g
s/'\''//g
-s/[!"#$%&()+,:;<>@[\\\]^{|}~]/ /g
+s/[]!"#$%&()+,:;<>@[\\^{|}~]/ /g
s/\.([^.]*\.)/-\1/g
y/ /--/
s/--+/-/g