Technical Trivia
Wednesday, July 3, 2013
Random reordering of lines in a file
To generate a random reordering or shuffling of lines in a file, use
shuf inp.txt > out.txt
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment