🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.shell
Article #1166

Re: How to get better piping in sh

#1166
From: 35G-ZEINELDINE
Date: Tue, 18 Sep 1990 13:20
11 lines
633 bytes
From article <FPB.90Sep12113235@schlitz.ittc.wec.com>, 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
Technical Details
Message-ID: <1990Sep18.132007.27654@hjuxa>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!hjuxa.unx.dec.com!alaa
References: <FPB.90Sep12113235@schlitz.ittc.wec.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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: <FPB.90Sep12113235@schlitz.ittc.wec.com>
Distribution: usa
Organization: DEC
Lines: 11