I\'m trying to extract IP addresses from my apache log, count them, and sort them.
And for whatever reason, the sorting part is horrible.
Here is the command
This should work
cat access.* | awk '{ print $1 }' | sort | awk '{print $1 " " $2;}' | sort -n
I can't see a problem.
Control characters in the files?
File system full (temp files)?