Re: Is this a design oversight? BASH redirection failure

2015-02-24 Thread Chet Ramey
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

Is this a design oversight? BASH redirection failure

2015-02-24 Thread John McKown
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

Fwd: Is this a design oversight? BASH redirection failure

2015-02-24 Thread John McKown
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

Re: Is this a design oversight? BASH redirection failure

2015-02-24 Thread John McKown
On Tue, Feb 24, 2015 at 2:10 PM, Chet Ramey chet.ra...@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