Merge "Convert file name to lower case"
This commit is contained in:
commit
02bb1768b4
@ -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%/*}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user