Introduction
Introduction Statistics Contact Development Disclaimer Help
Parse english wikipedia links as gopherpedia - annna - Annna the nice friendly …
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6…
Log
Files
Refs
Tags
README
---
commit e2bec909ca2e0c93b87a29373cab51fae11ecaf6
parent 7994509ed76773817bbdfa4321de66074a31f5a1
Author: Anders Damsgaard <[email protected]>
Date: Fri, 8 May 2020 20:20:36 +0200
Parse english wikipedia links as gopherpedia
Signed-off-by: Annna Robert-Houdin <[email protected]>
Diffstat:
M annna-start-services | 9 +++++++++
1 file changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/annna-start-services b/annna-start-services
@@ -29,6 +29,10 @@ hashtagcount() {
wc -l ${hashtagfile} | cut -d' ' -f 1
}
+regeximatch() {
+ printf '%s' "$1" | grep -i -E -q "$2"
+}
+
# Permissions
[ -d ${iiroot} ] && chmod o+rx ${iiroot}
[ -d ${iibase} ] && chmod o+rx ${iibase}
@@ -131,6 +135,11 @@ then
annna-say -c '…
;;
+ *en.wikipedia.org/wiki…
+ if ! regeximat…
+ nurl="…
+ annna-…
+ fi
*)
spurl=""
;;
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.