pipe breaking

Spencer W. Thomas thomas at utah-gr.UUCP
Tue Nov 19 08:44:58 AEST 1985


In article <478 at sdcc12.UUCP> np42pf at sdcc12.UUCP (Pierre Flament) writes:
>The following construct (sub-shell, see sh(1)) will allow redirection of
>the input to the terminal after finding the eof without any special code
>in the program:
>(ccat file;cat) | plotting_program

Even easier is
cat file - | plotting_program

(see cat(1))
-- 
=Spencer   ({ihnp4,decvax}!utah-cs!thomas, thomas at utah-cs.ARPA)
	"When wrath runs rampage in your heart you must hold still
	 that rambunctious tongue!" - Sappho



More information about the Comp.unix.wizards mailing list