From: Chris Koeritz Date: Mon, 7 Oct 2013 23:28:30 +0000 (-0400) Subject: took out parens and curly brackets too. X-Git-Tag: 2.140.90~909 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=a53d220e8b3876a8d43b09364af32db379c910dd;p=feisty_meow.git took out parens and curly brackets too. --- diff --git a/scripts/files/spaces_to_underscores.sh b/scripts/files/spaces_to_underscores.sh index d0a51394..03c58cfc 100644 --- a/scripts/files/spaces_to_underscores.sh +++ b/scripts/files/spaces_to_underscores.sh @@ -12,7 +12,7 @@ fi while [ $# -gt 0 ]; do file="$1"; shift - newname="$(echo "$file" | tr -s ' ' '_' | tr -d "][\\\~',:?><\"" | sed -e 's/\([0-9]\)_\./\1./g' | sed -e 's/_-_/-/' )" + newname="$(echo "$file" | tr -s ' ' '_' | tr -d "}{)(][\\\~',:?><\"" | sed -e 's/\([0-9]\)_\./\1./g' | sed -e 's/_-_/-/' )" if [ "$file" != "$newname" ]; then # we've effected a name change, so let's actually do it. echo "moving '$file' => '$newname' "