new_post.sh: add trailing dot after date and newline before sh
This commit is contained in:
parent
a999748d8c
commit
bb43a9b997
|
@ -31,13 +31,13 @@ markdown=$path/rendered.md
|
|||
printf "\nPlacing and patching rendered.md: $markdown"
|
||||
sed -E \
|
||||
-e "s/^title:[[:space:]]+\".*\"$/title: \"eXOfàsia ~${next_number}\"/" \
|
||||
-e "s/\{\{timestamp\}\}.<!--more-->/${last_date}/" \
|
||||
-e "s/\{\{timestamp\}\}.<!--more-->/${last_date}./" \
|
||||
"${path_to_rendered_md}" > "${markdown}"
|
||||
|
||||
printf "\n\nEnter issue directory..."
|
||||
cd $path
|
||||
|
||||
printf "\n\nPaste the Hebbot curl command here to download all media files, and close the shell again with 'exit'.\n"
|
||||
printf "\n\nPaste the Hebbot curl command here to download all media files, and close the shell again with 'exit'.\n\n"
|
||||
|
||||
# Enter new shell inside the issue directory
|
||||
exec env PS1="HEBBOT ${today} (eXOfàsia ~${next_number})$ " "${SHELL}"
|
||||
|
|
Loading…
Reference in a new issue