bash : name : remove - from ignore list.
This commit is contained in:
parent
c944d95d99
commit
a3de2b5a61
|
@ -18,7 +18,7 @@ name()
|
||||||
|
|
||||||
# extract new name.
|
# extract new name.
|
||||||
new_name=$(echo "$file" | \
|
new_name=$(echo "$file" | \
|
||||||
sed -e "s/[^[:alnum:]\.-]/_/g" \
|
sed -e "s/[^[:alnum:]\.]/_/g" \
|
||||||
-e "s/_\+/_/g"
|
-e "s/_\+/_/g"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Reference in a new issue