diff options
| author | Zach DeCook <zachdecook@librem.one> | 2021-04-04 18:35:25 -0400 |
|---|---|---|
| committer | Zach DeCook <zachdecook@librem.one> | 2021-04-04 18:35:25 -0400 |
| commit | ceb612c0ce4077a95d59b29ff6f1856f75eb4583 (patch) | |
| tree | b4cc9168d8b6844b383a383159e09eb09e8fd836 /net.sh | |
| parent | a53536d864514b51dd0da128bddba1febc8534b3 (diff) | |
| download | cgi-bin-ceb612c0ce4077a95d59b29ff6f1856f75eb4583.tar.gz | |
curl: Be silent
Diffstat (limited to 'net.sh')
| -rwxr-xr-x | net.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net.sh b/net.sh index 06c2936..5ddaa16 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 "$req" | sed 's@<b>[0-9:]*</b>@@g' | sed 's@</\?b>@@g' +curl -s "$req" | sed 's@ *<b>[0-9:]*</b> *@ @g' | sed 's@</\?b>@@g' # end with a newline echo '' echo '(NET)' |
