tobold.org

correct • elegant • free

△ comp.unix.shell △

◅ Ma a shell TSR in memory

Unix shells ▻

piping stderr

In article <37E921BB.83FACFE5@SPAM_FREEtt.comm.mot.com>,
Ryan Hatch  <hatchr@tt.comm.mot.com> wrote:
>I know stderr can be redirected with 2>, but is there a way to pipe it
>(like |, except for stderr)?

There is in rc.  I type something like this most days.

    strace command |[2] less

Tim.
--
Tim Goodwin   | "[ `static' ] is so overloaded in the C/C++ world that
Leicester, UK | I try to avoid it whenever I can't." -- Larry Wall

Original headers:

From: tjg@star.le.ac.uk (Tim Goodwin)
Newsgroups: comp.unix.shell
Subject: Re: piping stderr
Date: 24 Sep 1999 11:59:48 +0100
Organization: University of Leicester, UK
Message-ID: <7sfljq$lq8$1@ltpcg.star.le.ac.uk>
References: <37E921BB.83FACFE5@SPAM_FREEtt.comm.mot.com>

△ comp.unix.shell △

◅ Ma a shell TSR in memory

Unix shells ▻