From c4986b595cc9afe3c3453dcc4dc012cbd75797df Mon Sep 17 00:00:00 2001 From: Zach DeCook Date: Mon, 22 Feb 2021 19:43:23 -0500 Subject: ESV: End with newline --- esv.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'esv.sh') diff --git a/esv.sh b/esv.sh index e31d721..4f3f8ea 100755 --- a/esv.sh +++ b/esv.sh @@ -8,7 +8,9 @@ fi printf "20 text/gemini\r\n" qs="$(echo "$QUERY_STRING" |sed 's/ /\+/g')" -printf "=> http://www.esvapi.org This page's contents pulled from esvapi.org.\n#" +printf "=> http://www.esvapi.org This content pulled from esvapi.org.\n#" req="$(printf 'http://www.esvapi.org/v2/rest/passageQuery?key=TEST&passage=%s&include-headings=false&output-format=plain-text&include-verse-numbers=false&include-footnotes=false&line-length=0&include-first-verse-numbers=false&include-passage-horizontal-lines=false&include-heading-horizontal-lines=false&include-subheadings=false' "$qs")" #echo $req curl "$req" +# Include an ending newline. +echo '' -- cgit 1.4.1