标签:打印 class blog pre test int print 字符 linux
如果想输出所有的列的话,只需要$0这个函数,例如以下命令:
awk ‘/rs16945916/ {print $0}‘ test.txt > allcol.txt
rs16945916指的是打印在行中含有该字符的所有列。
标签:打印 class blog pre test int print 字符 linux
原文地址:http://www.cnblogs.com/chenwenyan/p/7532484.html