in reply to extract a single line from multiple files in a folder.
What is the matter with egrep?
The following works fine with me.
egrep "^CQA_STATUS" $CQAPATH/cqa_*
If the line needs further processing, you can always pipe it into perl, sed or other.