diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-10-11 16:40:25 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-10-11 16:40:25 +0200 |
commit | 40e43d180c9cb24215be658329d94412f8a4577c (patch) | |
tree | 21cd63d0a1a1907d9a23280cbe221114874d0b3b | |
parent | unixize update again (diff) | |
download | dotfiles-bsd-40e43d180c9cb24215be658329d94412f8a4577c.tar.gz dotfiles-bsd-40e43d180c9cb24215be658329d94412f8a4577c.tar.bz2 dotfiles-bsd-40e43d180c9cb24215be658329d94412f8a4577c.tar.xz dotfiles-bsd-40e43d180c9cb24215be658329d94412f8a4577c.tar.zst dotfiles-bsd-40e43d180c9cb24215be658329d94412f8a4577c.zip |
unixize update
-rwxr-xr-x | .local/bin/unixize | 5 |
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($_); |