'peeking' in on a pipe

M. Sabanos mcs at atux01.UUCP
Wed Jul 12 05:29:20 AEST 1989


In article <6.24B47361 at seaeast.WA.COM>, Tim.Evans at f112.n138.z1.WA.COM (Tim Evans) writes:
> I would like to 'peek' in on a pipe, to see what is happening in it, WHILE
> IT EXECUTES. I tried something like this, but no luck:
>  
>   some_stuff | tee `tty` | more_stuff
>  
> I would like to do this while it executes, not tee to a file and see it
> later. Does anyone have any ideas how this might be done?

Try this instead:

   some_stuff | tee /dev/tty | more_stuff


> Thanks,
> ...Tim

Your welcome,

  Mike Sabanos 



More information about the Comp.unix.questions mailing list