about summary refs log tree commit diff
path: root/net.sh
diff options
context:
space:
mode:
authorZach DeCook <zachdecook@librem.one>2022-12-22 15:35:18 -0500
committerZach DeCook <zachdecook@librem.one>2022-12-22 15:35:18 -0500
commitd412a36838a37d647fb02c2f6607951072eb5f1e (patch)
tree3a4a5e607ec4069b9668ca3a89285c7bcc4a831a /net.sh
parent6e218d28d7185b4b6156e361d73b156f856aa23f (diff)
downloadcgi-bin-d412a36838a37d647fb02c2f6607951072eb5f1e.tar.gz
net.sh: Use wget instead of curl
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 5ddaa16..0583bf2 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 -s "$req" | sed 's@ *<b>[0-9:]*</b> *@ @g' | sed 's@</\?b>@@g'
+wget -q -O - "$req" | sed 's@ *<b>[0-9:]*</b> *@ @g' | sed 's@</\?b>@@g'
 # end with a newline
 echo ''
 echo '(NET)'