summaryrefslogtreecommitdiffstats
path: root/.local
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-x.local/bin/unixize5
1 files changed, 3 insertions, 2 deletions
diff --git a/.local/bin/unixize b/.local/bin/unixize
index 1a0d0ea..27c1a8b 100755
--- a/.local/bin/unixize
+++ b/.local/bin/unixize
@@ -23,8 +23,9 @@ sub get_new_files
my @new_files;
foreach (@og_files) {
- $_ =~ s/\ -\ /-/g;
- $_ =~ s/\_-\_/-/g;
+ $_ =~ s/\ -\ /-_/g;
+ $_ =~ s/\_-\_/-_/g;
+ $_ =~ s/['"]+/_/g;
$_ =~ s/\ /_/g;
$_ =~ s/[\$#@~!&*%()\[\];,:?^`\\\/<>|]+/-/g;
$_ = lc($_);