cat(1) failedcomments.log %7C sed -e %27s%2F%5E.*mistake%5C%3A %2F%2F%27 %7C grep -iv %27%5C%5B%27 %7C sort %7C uniq -c %7C sort -nr
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.
-e     equivalent to -vE
-v, --show-nonprinting
       use ^ and M- notation, except for LFD and TAB
-n, --number
       number all output lines
source manpages: cat