Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!hjuxa.unx.dec.com!alaa From: alaa@hjuxa (35G-ZEINELDINE) Newsgroups: comp.unix.shell Subject: Re: How to get better piping in sh Message-ID: <1990Sep18.132007.27654@hjuxa> Date: 18 Sep 90 13:20:07 GMT References: Distribution: usa Organization: DEC Lines: 11 From article , by fpb@ittc.wec.com (Frank P. Bresz): > > I am trying to get the following csh-like behavior in sh. > > foo |& tee junk The following should work for the Bourne shell: foo 2>&1 | tee junk alaa