Path: utzoo!utgpu!watmath!iuvax!cica!ctrsol!emory!arnold
From: arnold@mathcs.emory.edu (Arnold D. Robbins {EUCC})
Newsgroups: gnu.bash.bug
Subject: Re: suggestion: >>&
Message-ID: <4268@emory.mathcs.emory.edu>
Date: 11 Aug 89 16:53:16 GMT
References: <8908101933.AA04226@life.ai.mit.edu>
Reply-To: arnold@emory.UUCP (Arnold D. Robbins {EUCC})
Distribution: gnu
Organization: Math and Computer Science, Emory University, Atlanta GA
Lines: 16

In article <8908101933.AA04226@life.ai.mit.edu> jjd@BBN.COM (James J Dempsey) writes:
>I like that you can do >& (or &>) in bash as a shorthand to send
>stdout and stderr to a file.  It would be nice if >>& worked to append
>stdout and stderr to a file.  I suppose to be consistent, you should
>also add &>>, but I wouldn't mind only one form of the >& >>& shorthands. 

Since BASH is supposed to be Bourne shell compatible

	program >> file 2>&1

will do the trick.  No real need to add yet another syntax.
-- 
Arnold Robbins -- Emory University Computing Center | Laundry increases
DOMAIN: arnold@unix.cc.emory.edu		    | exponentially in the
UUCP: gatech!emoryu1!arnold  PHONE: +1 404 727-7636 | number of children.
BITNET: arnold@emoryu1	     FAX:   +1 404 727-2599 |     -- Miriam Hartholz