awk 'BEGIN{FS="\n";RS=""}{srand();while(t++<100){print $(int(『from_file.path』*rand())+1);}}' from_file> outfile.txt