~earboxer/cgi-bin

d412a36838a37d647fb02c2f6607951072eb5f1e — Zach DeCook 1 year, 2 months ago 6e218d2
net.sh: Use wget instead of curl
1 files changed, 1 insertions(+), 1 deletions(-)

M net.sh
M net.sh => net.sh +1 -1
@@ 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)'