代码如下:
#egread_file a.txt
附:常用的shell正则表达式
shell脚本正则匹配文件中的Email并写入到文件中代码分享
原文:http://www.jb51.net/article/48838.htm