Merge "Convert file name to lower case"

This commit is contained in:
Zuul 2021-10-01 20:06:55 +00:00 committed by Gerrit Code Review
commit 02bb1768b4

View File

@ -101,8 +101,8 @@ ask_type
filename="${title//[^[:alnum:]]/-}" filename="${title//[^[:alnum:]]/-}"
filename=$(echo $filename | tr -s -) filename=$(echo $filename | tr -s -)
filename=${filename,,}
filename="${filename}-${myuuid}" filename="${filename}-${myuuid}"
filename=${filename,,}
[ $input == "i" ] && filename="index-${filename}" [ $input == "i" ] && filename="index-${filename}"
CONTEXT_DIR="${BASH_SOURCE%/*}" CONTEXT_DIR="${BASH_SOURCE%/*}"