Find all the files in a directory that has particular text on the first line of the file
find GA.Allocation/ -name *.cs -exec head {} -n 1 \; | grep pattern
Find all the files in a directory that has particular text on the first line of the file
find GA.Allocation/ -name *.cs -exec head {} -n 1 \; | grep pattern