the cat /dev/random can be too long, use the Shakespeare text

This commit is contained in:
Sylvestre Ledru 2022-06-19 16:59:44 +02:00 committed by GitHub
parent ad05b2f7cb
commit 7c49bf4bd1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,7 +14,7 @@ renaming the executable from `shuf` to `shuf.old`.
Sample input can be generated using `/dev/random`: Sample input can be generated using `/dev/random`:
```shell ```shell
cat /dev/random | base64 | fold | head -n 50000000 > input.txt wget -O input.txt https://www.gutenberg.org/files/100/100-0.txt
``` ```
To avoid distortions from IO, it is recommended to store input data in tmpfs. To avoid distortions from IO, it is recommended to store input data in tmpfs.