Wednesday, 7 August 2013

Why does echo work through pipe but not cat?

Why does echo work through pipe but not cat?

This works:
echo "yada yada" | msmtp my@mail.com
but not this:
cat yadayada.txt | msmtp my@mail.com
Why does echo work through pipe but not cat ?

No comments:

Post a Comment