about summary refs log tree commit diff
path: root/net.sh
diff options
context:
space:
mode:
authorZach DeCook <zachdecook@librem.one>2021-04-04 18:35:25 -0400
committerZach DeCook <zachdecook@librem.one>2021-04-04 18:35:25 -0400
commitceb612c0ce4077a95d59b29ff6f1856f75eb4583 (patch)
treeb4cc9168d8b6844b383a383159e09eb09e8fd836 /net.sh
parenta53536d864514b51dd0da128bddba1febc8534b3 (diff)
downloadcgi-bin-ceb612c0ce4077a95d59b29ff6f1856f75eb4583.tar.gz
curl: Be silent
Diffstat (limited to 'net.sh')
-rwxr-xr-xnet.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/net.sh b/net.sh
index 06c2936..5ddaa16 100755
--- a/net.sh
+++ b/net.sh
@@ -14,7 +14,7 @@ req="$(printf 'https://labs.bible.org/api/?passage=%s&type=text' "$qs")"
 #echo "$req"
 echo "#$qs" | sed 's/+/ /g'
 # todo: indicate scripture citations and allusions?
-curl "$req" | sed 's@<b>[0-9:]*</b>@@g' | sed 's@</\?b>@@g'
+curl -s "$req" | sed 's@ *<b>[0-9:]*</b> *@ @g' | sed 's@</\?b>@@g'
 # end with a newline
 echo ''
 echo '(NET)'