iOS: Display random line from a large TXT file #

with iSH Shell & GNU Coreutils' shuf and fold:

   shuf -n 1 book.txt | fold -w 30 -s

Enjoy aleatory quotes from ebooks, etc.

/nix | Jul 27, 2023


Subscribe or visit the archives.