标签:乱序 log and lin inux linu sort sdn .net
cat in.txt | awk ‘BEGIN{srand()}{print rand()"\t"$0}‘ | sort -k1,1 -n | cut -f2- > out.txt
参考文献:http://blog.csdn.net/littlewhite1989/article/details/39899609
标签:乱序 log and lin inux linu sort sdn .net
原文地址:http://www.cnblogs.com/jhc888007/p/7745034.html