Article 6H02X Why xargs echo cannot work as the mid seat in a pipeline?

Why xargs echo cannot work as the mid seat in a pipeline?

by
nyarukoooo
from LinuxQuestions.org on (#6H02X)
I am trying to echo the content of quotes.txt and also use the say command to speak it

cat quotes.txt | xargs echo | say

The say command did work, but the content of quotes.txt didn't show in my terminal, which means echo didn't take effect but it indeed passed the content to the say command.

does anyone know why echo didn't work as the mid-seat in a pipeline?

Thank you!
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments