Closed juan-riveros closed 2 years ago
Thanks @juan-riveros - this looks great! I think it's okay to move the header to stderr. The tests seem to be failing though, would you be able to take a look?
There that should do it. Had to change two tests since they assumed that the header existed in stdout. One assumed the output would be surrounded by newlines so just removed the newlines from the predicate and the other checked for filenames in stdout so changed it checking against stderr instead.
Awesome. Thanks a lot for contributing!
Fixes Issue #20 by moving the cat "header" to stderr instead of stdout to allow for piping.
Feel free to reject this if you think that a
--quiet
flag might be a better option.