yeah.. whats happened is we've had over 60 domains change host to one of our boxes, and i need to proccess all the old stats from the old servers... i can easily get the format of the log file, but then i need to write the config file so i can do "awstats.pl -logfile=asdfasdfasdfasdf", but the config file contents are not coming to me...
im getting a list of all the log files within a folder (they are haphazardly all over the place in format... greaaaat), so i open it, get the log format from the first few commented lines. i open the config file, modify it, rewrite it, update the stats, reset the config file back.
its purely to get ancient stats... so im not too concerned with the speed of it all, it only needs to be done once...