[CentOS] how to separate individual logs?

John Doe jdmls at yahoo.com
Fri Dec 3 10:50:29 UTC 2010


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


      



More information about the CentOS mailing list