diff --git a/new-topic.sh b/new-topic.sh index 0a0a9b5c1..d2736cf1f 100644 --- a/new-topic.sh +++ b/new-topic.sh @@ -101,8 +101,8 @@ ask_type filename="${title//[^[:alnum:]]/-}" filename=$(echo $filename | tr -s -) -filename=${filename,,} filename="${filename}-${myuuid}" +filename=${filename,,} [ $input == "i" ] && filename="index-${filename}" CONTEXT_DIR="${BASH_SOURCE%/*}"