TRACY PIERCE wrote:
>
> Jeff, would you be so kind as to supply an example of using PIPES and
> TEES? Here's what we'd love to be able to do, or something like it,
> using pseudo-mpe syntax, I hope you get the idea.
>
> REDIRECT would contain something like...
> ;dev=WIDELP
> ;dev=LASERJET;env=lj132dgb.pub.minisoft
>
> :FILE MYOUTPUT;^REDIRECT
> :RUN MYPGM
I don't know that you could get environment files to work as the shell
could only deal with /dev/* files. It should work for printer ldevs
(which can be defined with mknod) but as far as I know, not classnames
or other non-posix hooks.
tee just copies stdin to stdout but also 'tees' a copy to a file. If
you wanted to print to three printers:
shell/ix> callci "RUN MYPGM"|tee /dev/lp1|tee /dev/lp2