my grep command looks like this zgrep -B bb -A aa \"pattern\" *
I would lke to have output as:
file1:line1 file1:line2 file1:line3 file1:pattern file
pipe grep output through
awk -F: '{if(f!=$1)print ""; f=$1; print $0;}'