bash : name : remove - from ignore list.

This commit is contained in:
Dmitry Voronin 2023-10-25 14:30:02 +03:00
parent c944d95d99
commit a3de2b5a61

View file

@ -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"
) )