scripts for my gemini capsule
net.sh: Use wget instead of curl
| -rwxr-xr-x | net.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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)' |