Can someone explain me, why the following doesn't work:
echo hello | echo -
Just for learning purposes (don't tell me to use something else and not "echo" or why do I need it), I want to understand why it's not working. I'm trying to pipe the result of the first echo to the second echo (through stdin). Why is it not working and what can I do to make it work?