shell grep 筛选

egrep '^.{11}(WP)' inputfile | sort -k1.17,1.24 > outputfile

WP 在12位开始. 

原文地址:https://www.cnblogs.com/kakaisgood/p/7700534.html