summaryrefslogtreecommitdiff
path: root/new-post.sh
diff options
context:
space:
mode:
authorBrian Picciano <mediocregopher@gmail.com>2021-01-15 16:12:25 -0700
committerBrian Picciano <mediocregopher@gmail.com>2021-01-15 16:12:25 -0700
commit37150ca3cb8fc5f766949f414bdddca19ae76462 (patch)
tree587a4f810a461218cbd91ff23723bf99cd4a7fed /new-post.sh
parent65c1d5ab1032a09e8f96b0daeae84a5c6dc10b26 (diff)
the web
Diffstat (limited to 'new-post.sh')
-rwxr-xr-xnew-post.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/new-post.sh b/new-post.sh
index 4ff0637..cb0a1bd 100755
--- a/new-post.sh
+++ b/new-post.sh
@@ -43,7 +43,7 @@ clean_title=$(echo "$title" |\
)
description="$2"
-if $(echo "$description" | grep -q '[^.$!]$'); then
+if $(echo "$description" | grep -q '[^.$!?]$'); then
echo 'Description needs to be a complete sentence, with ending punctuation.'
exit 1
fi