From: Les Mikesell <lesmikesell at gmail.com> > If the first line of the input file used doesn't match the pattern you'd > probably get an error in the redirect since $LOGFILE would not be set. If the data file does not respect the order section+body... he could just add a LOGFILE="garbage.txt" at the begining of the script... JD