bug-bash
[Top][All Lists]
Advanced

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

Re: Is this a design oversight? BASH redirection failure


From: John McKown
Subject: Re: Is this a design oversight? BASH redirection failure
Date: Tue, 24 Feb 2015 18:54:13 -0600

On Tue, Feb 24, 2015 at 2:10 PM, Chet Ramey <chet.ramey@case.edu> wrote:
On 2/24/15 1:32 PM, John McKown wrote:
> I run with "set -o noclobber". I know to use >| to redirect stdout and
> overwrite an existing file. But I often want to redirect both stdout
> and stderr to the same file. Which I do with the &> operator. But I
> cannot _easily_ redirect both and overwrite at the same time. I was
> expecting &>| to work, but it doesn't.

Not an oversight so much as shorthand that has never really seemed worth
implementing.

​Thanks for the information. I understand the cost of maintenance vs. the utility of what is likely not used very often. ​

 

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



--
He's about as useful as a wax frying pan.

10 to the 12th power microphones = 1 Megaphone

Maranatha! <><
John McKown

reply via email to

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