Grep a line

view story

http://www.unix.com – i would like to grep a particular line form several file which is within the folder for example i have folder like 2010a, 2010b 2010c.... and each folder there is file with post1, post2 and post3... from each file there is line XYZ 10 10 10. XYZ 21 31 30 so i want to grep XYZ and its related column. can ayone help in writing the script. Thanks in advance (HowTos)