Beginner needs help with first script

view story

http://www.unix.com – Hi, so I have been doing ok making a relatively simple script just processing some data. However I am now at the point where im struggling to find the specific help I need. I have files in the form of yyyy.ddd.hh.mm.ss.stationnumber.component (they are earthquake events). eg. 2006. 2006. 2006. 2006. 2006. 2006. .... So each event is split into 3 files, and i have ~ 30 events. I need to read these all into a program 3 at a time, ie the e, n & z. And this is where i (HowTos)