i have the same problems constantly, but it never came to my mind to write something like this, i just cut and paste random peaces of a file into a test file and that is it.
So big ++ for this script and effort! :)
Comment on Re: Data Sampler (Extract sample from large text file)