grep Text filename* | grep pattern | awk '{ if ( $3 == '\t' ) { print $2 " " $4 " " $12 } }{FS="\t+"}'

Advertisements