1
0
mirror of https://github.com/cirosantilli/china-dictatorship.git synced 2025-09-02 03:02:34 +02:00
Files
china-dictatorship/random-links
Ciro Santilli 六四事件 法轮功 dd739a6072 random-links
2022-08-02 01:00:00 +00:00

4 lines
292 B
Bash
Executable File

#!/usr/bin/env bash
# To reply to wumaos on websites that don't accept images.
ls out/multipage | grep -v '[^a-z.-]' | shuf -n "${1:-10}" | sed 's/.html//' | sed -E 's|^|https://cirosantilli.com/china-dictatorship/|' | python -c "import sys; print(' | '.join(sys.stdin.read().splitlines()))"