[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: |& in bash?

From: John Caruso
Subject: Re: |& in bash?
Date: Mon, 21 Jan 2013 18:20:35 +0000 (UTC)
User-agent: slrn/ (Win32)

In article <address@hidden>, Dan Douglas wrote:
> It isn't very common to dump multiple streams into one pipe.

echo "n't very"  >/dev/null 2>&1

> I suggest avoiding |&.

Personally I wouldn't use it in scripts, since I try to stick as close
to plain vanilla Bourne shell as possible (though that's not as much of
a consideration these days as it used to be).  But for interactive use
it's one of the greatest shell time- and effort-savers I know of, and
I'm very happy to hear it's made its way into bash.  I wouldn't suggest
avoiding it unless you like carpal tunnel.

- John

reply via email to

[Prev in Thread] Current Thread [Next in Thread]