BBVA/kapow

Useless use of `cat` award :star:

evandrix opened this issue · 1 comments

README.md: cat /var/log/apache2/access.log | grep 'File does not exist' | kapow set /response/body

should be: fgrep 'File does not exist' /var/log/apache2/access.log | ...

You are right, we have an UUOC in the README.md, but is there with a purpose :) .

The README's goal is to show, in the minimal amount of space to not very savvy Unix users, that this line is, in fact, a script; and you can pipe things together. We selected grep and cat because are very basic Linux commands.