small fixes

This commit is contained in:
teldra 2022-06-26 19:27:30 +02:00
parent af33a818e1
commit 884c8da864
1 changed files with 0 additions and 1 deletions

View File

@ -25,7 +25,6 @@ else
fi
for file in "${files[@]}"; do
s="$(basename ${file%.*})" # receive input in first argument
s="${s//[^[:alnum:]]/-}" # replace all non-alnum characters to -
s="${s//+(-)/-}" # convert multiple - to single -