#grep shows output, but when I pipe it to cat, I see nothing. Why?

12 messages · Page 1 of 1 (latest)

fair shell
#

grep shows output, but when I pipe it to cat, I see nothing. Why?

dreamy oakBOT
# potent vine .s litany

Please follow the Standard Litany when asking a question:
What was your environment? What was your operating system, configuration?
What did you do? What did you run or test? Where?
What actually happened? What were the exact results, complete log contents, exact error messages?
What did you expect? What were you aiming to achieve? What result were you looking for?

Vague or superficial questions will yield vague or superficial answers. False information leads to false solutions.

Also see this similar guide on how to ask smart questions.

fair shell
sand torrent
potent vine
#

¯\_(ツ)_/¯

fair shell
#

Why I have no output after piping grep to cat

sand torrent
#

Piping cat to grep is redundant... But piping grep to cat doesn't sound like it makes sense

placid sleet
#

Piping it into echo or something should work