diff --git a/tools/scripts/create-daily.sh b/tools/scripts/create-daily.sh index 976ec1af0..1fb0aab40 100755 --- a/tools/scripts/create-daily.sh +++ b/tools/scripts/create-daily.sh @@ -14,7 +14,7 @@ shift 1 # Generate the title and slug. title="${*}" -slug=$(echo "${title}" | awk '{print tolower($0)}' | tr ' ' '-') +slug=$(echo "${title}" | awk '{print tolower($0)}' | tr ' ' '-' | awk '{ gsub("?", ""); print }') # Create the file. cp -f --no-clobber stub.md "${filepath}"