Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Useless use of cat award ⭐ #118

Closed
evandrix opened this issue Aug 13, 2020 · 1 comment
Closed

Useless use of cat award ⭐ #118

evandrix opened this issue Aug 13, 2020 · 1 comment

Comments

@evandrix
Copy link

evandrix commented Aug 13, 2020

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 | ...

@evandrix evandrix changed the title Useless use of cat award ⭐ Useless use of cat award ⭐ Aug 13, 2020
@nilp0inter
Copy link
Contributor

nilp0inter commented Aug 14, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants