From 37150ca3cb8fc5f766949f414bdddca19ae76462 Mon Sep 17 00:00:00 2001 From: Brian Picciano Date: Fri, 15 Jan 2021 16:12:25 -0700 Subject: the web --- new-post.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'new-post.sh') 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 -- cgit v1.2.3