Is there a bash command (or alternative a python module) for generating a large file of specific size (e.g., 1GB) from random words contained on another file (e.g., the English dictionary).
The output file should typically be larger than the "dictionary" input file.
Ideally, I would like the lines not to repeat.
I have experimented with shuf and truncate commands as other suggested as solutions to similar tasks but I am not sure they have all the properties for dealing with this problem.
Aucun commentaire:
Enregistrer un commentaire