DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Writing Deskshell commands

Pipelines

The pipeline operator, ``|'', creates two child threads from the parent thread, and the parent is blocked until both children have finished executing.

For example, the command:

   sort < F | uniq > F2
sorts records from the file F and sends the output to the uniq command, which then removes duplicate lines, and sends the output to a file F2.

See also:


Next topic: Executing actions within the same thread
Previous topic: Background threads

© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 26 May 2005