command 2>&1 1>&- | next-command Supposedly, that should work, but I don't know. Try it and find out. On Thu, 2002-11-14 at 17:31, Bob Tanner wrote: > Being an old tcsh user, I use to be able to do this: > > command |& tee output > > stdout and stderr get piped to tee > > I tried this under bash. > > command | tee output 2>&1 > > No go. How do you pipe stderr in bash? > > > -- > Bob Tanner <tanner at real-time.com> | Phone : (952)943-8700 > http://www.mn-linux.org, Minnesota, Linux | Fax : (952)943-8500 > http://www.linuxjustworks.com | Linux Just Works! > Key fingerprint = AB15 0BDF BCDE 4369 5B42 1973 7CF1 A709 2CC1 B288 > _______________________________________________ > Twin Cities Linux Users Group Mailing List - Minneapolis/St. Paul, Minnesota > http://www.mn-linux.org tclug-list at mn-linux.org > https://mailman.mn-linux.org/mailman/listinfo/tclug-list -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://shadowknight.real-time.com/pipermail/tclug-list/attachments/20021114/cb91bb5c/attachment.pgp