in reply to Re: equivalent to prove?
in thread equivalent to prove?

I may not have gotten exactly the gist of what you wanted here, but cat tee.pl | tee junk >anotherprog would run cat on tee.pl, save stdout in junk and pass it on to anotherprog. In this case, nothing gets printed to the screen (unless you tee again, which is also possible!).

Replies are listed 'Best First'.
Re^3: equivalent to prove?
by jhourcle (Prior) on Jan 30, 2009 at 17:55 UTC

    Nope, that tells it to write the output to 'anotherprog'. To do what you described, you'd want:

    cat tee.pl | tee junk | anotherprog