scripts for my gemini capsule
net: remove b tags
Zach DeCook 2021-02-24
parent 57cc74a · commit 63c0ad2
-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)'