commit 247a8f8e29482a17fc3a59eb361646a8aadce22b
parent ed7c8c6e546507e16c41d7c67812e32c6bba9061
Author: Jacob R. Edwards <n/a>
Date: Fri, 4 Feb 2022 23:22:34 -0800
Add underscore as a word separator in cleanpath
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])/\1 \2/g
s/'\''//g
-s/[]!"#$%&()+,:;<>@[\\^{|}~]/ /g
+s/[]!"#$%&()+,:;<>@[\\^{|}~_]/ /g
# I believe it is impossible to do with a single sed substitution.
:l