awk 'BEGIN{FS="\n";RS=""}{srand();while(t++<100){print $(int(『from_file.path』*rand())+1);}}' from_file> outfile.txt
转载于:https://www.cnblogs.com/-Rik/p/3592548.html
awk 'BEGIN{FS="\n";RS=""}{srand();while(t++<100){print $(int(『from_file.path』*rand())+1);}}' from_file> outfile.txt
转载于:https://www.cnblogs.com/-Rik/p/3592548.html