Help for this page
my $cmd = "cat /tmp/win.log /tmp/lnx.log | grep -v "/" . $nextmonth . +"/" | sort -k4.2 > /export/w3logs/" . $year . $month . ".log"; system($cmd);
open the log files and the output file. read in each log file into a hash with the key based on the date of th +e item sort the hash keys and write the values to the output file