#!/bin/awk -f
BEGIN{FS=",";
if(ARGC>2){name=ARGV[1];delete ARGV[1]}
else{ echo "please enter name";getline name<"-" }
}
$1~name {print $1,$3}
posted on 2016-09-28 10:02 猫儿爹 阅读(293) 评论(0) 编辑 收藏 举报