diff options
author | Brian Picciano <mediocregopher@gmail.com> | 2021-01-15 16:12:25 -0700 |
---|---|---|
committer | Brian Picciano <mediocregopher@gmail.com> | 2021-01-15 16:12:25 -0700 |
commit | 37150ca3cb8fc5f766949f414bdddca19ae76462 (patch) | |
tree | 587a4f810a461218cbd91ff23723bf99cd4a7fed /new-post.sh | |
parent | 65c1d5ab1032a09e8f96b0daeae84a5c6dc10b26 (diff) |
the web
Diffstat (limited to 'new-post.sh')
-rwxr-xr-x | new-post.sh | 2 |
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 |