Pipe functions

About writing shell scripts and making the most of your shell
Forum rules
Topics in this forum are automatically closed 6 months after creation.
Locked
Sigord

Pipe functions

Post by Sigord »

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?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
xenopeek
Level 25
Level 25
Posts: 29597
Joined: Wed Jul 06, 2011 3:58 am

Re: Pipe functions

Post by xenopeek »

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:
Image
Locked

Return to “Scripts & Bash”