本帖最后由 tmplinshi 于 2012-11-19 01:38 编辑
提取 10个字符的行:- grep -E "^[A-Z0-9]{10}$" 1G.txt >10.txt
复制代码 提取最大的组:- sort /r /+5 10.txt | uniq -w 5 >large.txt
复制代码 grep 下载地址: http://www.interlog.com/~tcharron/grep20d_win.zip
uniq 下载地址: http://www.ossh.com/gnu-win32/uniq.exe |