>Open the log file, open a temp file, loop down the log file, munge each line >in turn and drop it to the temp file, close both at end. before you go writing this code, please take a look at the -i command line option. xoa -- Andy Lester => andy at petdance.com => www.petdance.com => AIM:petdance