>>before you go writing this code, please take a look at the -i command >>line option. > >How would this improve the performance (or are you suggesting this for >code simplification only)? Code simplification only. No need to worry about all the filehandles. xoa -- Andy Lester => andy at petdance.com => www.petdance.com => AIM:petdance