Introduction
Introduction Statistics Contact Development Disclaimer Help
Fix bithub-gen. - annna - Annna the nice friendly bot.
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6…
Log
Files
Refs
Tags
README
---
commit a62ea82b7b12d1d2d7ca105164b9cdacc7575539
parent a25c1d2933ae6fbd7bb5382398352c00f90e2ec7
Author: Annna Robert-Houdin <[email protected]>
Date: Fri, 7 Apr 2023 15:22:42 +0200
Fix bithub-gen.
Diffstat:
M bithub-gen | 4 ++--
M essay-gen | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/bithub-gen b/bithub-gen
@@ -6,8 +6,8 @@ bithubarchive="/br/gopher/bithub/read_text"
bithubbaseuri="gophers://bitreich.org/0/bithub/read_text"
essayurl="$(essay-gen)"
cd "${bithubarchive}"
-essayfile="$(hurl "${essayurl}" | sed -n "2p;" | tr ' /' '__').txt"
-hurl "${essayurl}" > "${essayfile}"
+essayfile="$(curl -s "${essayurl}" | sed -n "2p;" | tr ' /' '__').txt"
+curl -s "${essayurl}" > "${essayfile}"
printf "%s/%s\n" "${bithubbaseuri}" "${essayfile}"
diff --git a/essay-gen b/essay-gen
@@ -7,6 +7,6 @@ export PATH="$PATH:/opt/plan9/bin"
hurl https://www.elsewhere.org/pomo/ \
| 9 htmlfmt \
- | sed '0,/Twitter$/d; /The essay you have just seen is completely mean…
+ | sed '0,/Mastodon$/d; /The essay you have just seen is completely mea…
| /br/bin/bitreich-paste
You are viewing proxied material from bitreich.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.