shuffle

NAME

shuffle - shuffle lines of text files

SYNTAX

shuffle [FILE]...

DESCRIPTION

Write shuffled concatenation of all FILE(s) to standard output.

With no FILE, read standard input.

NOTES

The entire text to be shuffled is read into memory - it should probably use temporary files once over a certain size, and shuffle regular files in-place

Shuffle algorithm converted from perl Algorithm::Numerical::Shuffle, which says it came from Knuth.

I was going to call it unsort, but sometimes the output will happen to be sorted, so that isn't correct :-)

AUTHOR

Written by Adam Curtin, Yellowduck Ltd.

REPORTING BUGS

Contact Us

COPYRIGHT

Copyright © 2003 Yellowduck Ltd
This is free software. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

SEE ALSO

sort(1)