|
From: | John McKown |
Subject: | Re: Is this a design oversight? BASH redirection failure |
Date: | Tue, 24 Feb 2015 18:54:13 -0600 |
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.
--
``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/
[Prev in Thread] | Current Thread | [Next in Thread] |