使用gawk实现对文件内容的distinct 操作

#print "comment:awk implement distinct"
BEGIN {}
	{ a[$1]++ }
END { for (b in a) { print b } }

猜你喜欢

转载自askylark.iteye.com/blog/1101809