bug-bash
[Top][All Lists]
Advanced

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

Re: |& in bash?


From: John Caruso
Subject: Re: |& in bash?
Date: Thu, 17 Jan 2013 18:53:26 +0000 (UTC)
User-agent: slrn/0.9.7.4 (Win32)

In article <address@hidden>, Chet Ramey wrote:
> On 1/17/13 1:01 PM, John Caruso wrote:
>> One feature of other shells (e.g. zsh and tcsh) I'd really love to have
>> in bash is "|&", which redirects both stdout and stderr--basically just
>> a shortcut for "2>&1 |".  Has this ever been considered for bash?
> 
> That has been in bash since bash-4.0.

I'm simultaneously happy and chagrined :-) (most of the servers I manage
are on bash 3.x, so I hadn't encountered it).  Thanks.

- John


reply via email to

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