Sample Header Ad - 728x90

Does the size of the random_source file matter?

2 votes
2 answers
1525 views
Some GNU coreutils utilities like sort and shuf use a file as what effectively serves a seed. Does the size of the file matter? The recommended way, https://www.gnu.org/software/coreutils/manual/html_node/Random-sources.html , uses an openssl-based method that takes a rather long time. What if I just used a 6-letter word as below? Does this affect the ability of said utilities to create pseudo-randomness? shuf -i1-10 --random-source=<(echo durian)
Asked by flow2k (651 rep)
Jan 26, 2019, 12:58 AM
Last activity: Dec 5, 2020, 12:36 PM