Pipe functions

Forum rules
Before you post please read how to get help
Level 1
Level 1
Posts: 36
Joined: Mon Jan 06, 2014 9:33 am

Pipe functions

Postby Sigord » Mon Jun 09, 2014 3:31 am

I understand you can invoke speech by reading a file such as test.txt by entering the following in the Terminal

cat test.txt|espeak

Is it possible to create a TXT file of all the pipe commands from other software installed please?

User avatar
Level 24
Level 24
Posts: 21649
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: Pipe functions

Postby xenopeek » Mon Jun 09, 2014 5:50 am

espeak isn't different than any other Linux (or Unix or BSD) command line utility; many commands can be combined with the pipe--redirecting output of the command to the left of the pipe as input to the command on the right of the pipe. See this section in the Introduction to the Command Line book: http://en.flossmanuals.net/command-line/piping/. If you want to get more comfortable on the command line, this is a good book to read cover to cover :wink:

Return to “Scripts & Bash”