awk过滤数据
awk -F ',' '{if($2 ~/\./ ) {print $1,$2 }}' 20160905_names > ttt1
awk -F ',' '{if($2 !~/[0-9]+\.[0-9]+/ ) {print $1,$2 }}' ttt1 > ttt2
rapid7.awk
{
if(($2 ~/./) && ($2 !~/[0-9]+.[0-9]+/))
{
print $1","$2
}
}
awk -F ',' -f rapid7.awk 20160905_names > ttt3