#!/usr/bin/awk -f $2 ~ /A|B|C/ { printf( "(%s)", $2 ); for ( i = 3; i <=NF; i++ ) { printf( " %s", $i ) }; printf( "\n" ); }