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!
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!