Introduction
Introduction Statistics Contact Development Disclaimer Help
Tweak useful idiotbox technology. - annna - Annna the nice friendly bot.
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6…
Log
Files
Refs
Tags
README
---
commit 092b6fe252646f5349ee48d347f4d92d555b2765
parent 1e01eb48430a06a8e2ec480a2e6d8d62e024bb95
Author: eidolon <?>
Date: Thu, 24 Oct 2024 13:28:54 -0400
Tweak useful idiotbox technology.
Signed-off-by: Annna Robert-Houdin <[email protected]>
Diffstat:
M idiotbox-roulette | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/idiotbox-roulette b/idiotbox-roulette
@@ -5,7 +5,7 @@
spin() {
awk 'BEGIN { FS = "\t"; srand() }
- /^h/ && !/^hAtom/ { if (rand() < 1 / ++n) out = $0 }
+ /^h/ && !/^hAtom/ { if (rand() < 1 / ++n) out = $1" "$2 }
END { sub(/URL:/, "url: ", out); print substr(out, 2) }'
}
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.