cat(1) failedcomments.log %7C awk %27BEGIN %7B FS%3D%22%7C%22 %7D %7B gsub%28%22 ip%3A %22%2C %22%22%2C %242%29%3B print %242 %7D%27 %7C xargs -n1 geoiplookup %7C sed -e %27s%2FGeoIP Country Edition%3A %2F%2Fg%27 %7C sed -E %27s%2F%5E%5BA-Z%5D%2B%2C %2F%2Fg%27 %7C grep -iv %27resolve hostname%27 %7C sort %7C uniq -c %7C sort -n
concatenate files and print on the standard output
Concatenate FILE(s), or standard input, to standard output.

With no FILE, or when FILE is -, read standard input.
-n, --number
       number all output lines
-e     equivalent to -vE
-E, --show-ends
       display $ at end of each line
-v, --show-nonprinting
       use ^ and M- notation, except for LFD and TAB
source manpages: cat