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

© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003