Gather the offsets of line-beginnings (with tell() or even 'grep -b') into a array, then randomize?
Getting to a line knowing the pointer will take little time.
In reply to Re: Randomizing Big Files
by erix
in thread Randomizing Big Files
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |