summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-x.local/bin/unixize3
1 files changed, 3 insertions, 0 deletions
diff --git a/.local/bin/unixize b/.local/bin/unixize
index 74423d0..0814bca 100755
--- a/.local/bin/unixize
+++ b/.local/bin/unixize
@@ -23,7 +23,10 @@ sub get_new_files
my @new_files;
foreach (@og_files) {
+ $_ =~ s/\ -\ /-/g;
+ $_ =~ s/\_-\_/-/g;
$_ =~ s/\ /_/g;
+ $_ =~ s/[\$#@~!&*()\[\];,:?^`\\\/]+/-/g;
$_ = lc($_);
push @new_files, $_;
}