about summary refs log tree commit diff
path: root/net.sh
diff options
context:
space:
mode:
authorZach DeCook <zachdecook@librem.one>2021-02-24 07:50:48 -0500
committerZach DeCook <zachdecook@librem.one>2021-02-24 07:50:48 -0500
commit63c0ad2f13b65b024c108efa32493825c5b2d1a5 (patch)
treede1c2082ebe4395ec48a57f62cd7456f1f14455d /net.sh
parent57cc74a93724ed61c79b779ff7cc0274d9c24830 (diff)
downloadcgi-bin-63c0ad2f13b65b024c108efa32493825c5b2d1a5.tar.gz
net: remove b tags
Diffstat (limited to 'net.sh')
-rwxr-xr-xnet.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/net.sh b/net.sh
index 3ee4149..06c2936 100755
--- a/net.sh
+++ b/net.sh
@@ -13,7 +13,8 @@ printf "=> https://labs.bible.org This content pulled from bible.org.\n"
 req="$(printf 'https://labs.bible.org/api/?passage=%s&type=text' "$qs")"
 #echo "$req"
 echo "#$qs" | sed 's/+/ /g'
-curl "$req" | sed 's@<b>[0-9:]*</b>@@g'
+# todo: indicate scripture citations and allusions?
+curl "$req" | sed 's@<b>[0-9:]*</b>@@g' | sed 's@</\?b>@@g'
 # end with a newline
 echo ''
 echo '(NET)'