Einstein47
Programmer
I have a short awk script that parses my web server log for "404" errors and displays which files weren't found as well as a count of the number of times the reference occurred. However the output is very random (that's what you get with associative arrays).
Does anybody know of an easy way to sort associative arrays? Can I implement a system call to "/usr/bin/sort" and have that sort my array for me?
Any suggestions are appreciated. Einstein47
(How come we never see the headline, "Psychic Wins Lottery"?)
Does anybody know of an easy way to sort associative arrays? Can I implement a system call to "/usr/bin/sort" and have that sort my array for me?
Any suggestions are appreciated. Einstein47
(How come we never see the headline, "Psychic Wins Lottery"?)