Large file handling - 14/08/04 11:28 AM
Hi all, I need to read a random string from a 40000 line file, do some "work" on it, then write it to another file, and delete the line in the original file, then do it all over again, until the original file is empty.
My script works perfectly, but it takes AGES.
If I can just scramble all the lines in the original (to another file, or in itself) would help as well, and I will find another way to manipulate the lines after it is scrambled.
Thanks...
My script works perfectly, but it takes AGES.
If I can just scramble all the lines in the original (to another file, or in itself) would help as well, and I will find another way to manipulate the lines after it is scrambled.
Thanks...