From 4d5f869fb32f21f600e718a6edcc38740141d91f Mon Sep 17 00:00:00 2001 From: ickyicky Date: Sun, 11 Jul 2021 02:34:53 +0200 Subject: [PATCH] example usecase added with shuf --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 9455c7a..e6e1fc9 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,10 @@ Program also allows user to pipe text into it. Keep in mind, it only supports sp `furtune | sed 's/\t/ /g' | python3 -m fasttyper` +or if you want to randomize words from given file with shuf, and then keep them in the same line, replacing new lines with spaces using sed, on for example all disctionaries in system: + +`shuf -n5 /usr/share/dict/* | sed ':a;N;$!ba;s/\n/ /g' | python -m fasttyper` + # Known issues Too large text brakes the app.