Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=4678632 By: tml1024
Well, awk by itself has no knowledge of the format of website log files, or any other structured text format. All it knows about input formats is how to separate input into records ("lines") based on a record separator character (by default newline), and how to separate records ("lines") into fields based on a field separator character. You will have to write the awk script to interpret the log files yourself. For instructions how to do that, read the gawk documentation, and read some awk tutorials. Use Google. Anyway, for this task, my initial guess would be that it is such a common task that surely there must exist specialized tools ("freeware", or commercial) already that can analyze website log files in almost any way one might want. And if you insist in doing it yourself, or really need some kind of analysis such tools don't provide, I would also guess that a much more suitable language would be Perl, as I am pretty certain there exist Perl modules to interpret the log file formats of all common web servers. Or Python, for that matter. --tml ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=74807 ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ GnuWin32-Users mailing list GnuWin32-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gnuwin32-users