diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-10-11 15:45:31 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-10-11 15:45:31 +0200 |
commit | a2bfadefdc8542f4a88d0c8027865ac71a82c319 (patch) | |
tree | ea4c323545f889b8264db2053e06723496c08e02 | |
parent | unixize script done (diff) | |
download | dotfiles-bsd-a2bfadefdc8542f4a88d0c8027865ac71a82c319.tar.gz dotfiles-bsd-a2bfadefdc8542f4a88d0c8027865ac71a82c319.tar.bz2 dotfiles-bsd-a2bfadefdc8542f4a88d0c8027865ac71a82c319.tar.xz dotfiles-bsd-a2bfadefdc8542f4a88d0c8027865ac71a82c319.tar.zst dotfiles-bsd-a2bfadefdc8542f4a88d0c8027865ac71a82c319.zip |
unixize script update
Diffstat (limited to '')
-rwxr-xr-x | .local/bin/unixize | 3 |
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, $_; } |