bug-bash
[Top][All Lists]
Advanced

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

Re: |& in bash?


From: Chet Ramey
Subject: Re: |& in bash?
Date: Thu, 17 Jan 2013 13:45:06 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20130107 Thunderbird/17.0.2

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.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/



reply via email to

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