scripts for my gemini capsule
net.sh: Use wget instead of curl
Zach DeCook 2022-12-22
parent 6e218d2 · commit d412a36
-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)'