zaxxon
Yes that is one of the things needed. I now under stand the -v and -E args of grep. ty.
I still need to consolidate a couple of fields on each record in between the '------' to one record...... does that make sense?
I have a base awk statement that i have started. I piped your recommended grep command to it.
Code:
grep -vE "^------|^$" $FILENAME | awk '$4="04" { print $1","$2 }'