Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
To: cygwin@cygwin.com
X-Injected-Via-Gmane: http://gmane.org/
Path: not-for-mail
From: "Robert Mark Bram" <relaxedrob@no.spam.optushome.com.au>
Newsgroups: gmane.os.cygwin
Subject: Re: IO Redirection
Date: Wed, 13 Mar 2002 21:54:55 +1100
Lines: 27
Message-ID: <a6nb61$jon$1@main.gmane.org>
References: <Pine.GSO.4.44.0203131135120.1388-100000@domino.informatik.uni-kl.de>
NNTP-Posting-Host: c16563.frank1.vic.optusnet.com.au
X-Trace: main.gmane.org 1016016898 20247 210.49.205.182 (13 Mar 2002 10:54:58 GMT)
X-Complaints-To: usenet@main.gmane.org
NNTP-Posting-Date: Wed, 13 Mar 2002 10:54:58 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6700
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700

Thanks for the reply!

> > How do I append error output?
> > How do I append error and standard output?
>
>  Just as you have written?
>  ">>" appends, ">" write to a new file, independend of the file
>  or source selected. That is,  "&>>file" appends both.
>
>  Why is that not obvious ?

This is why:

Robert Mark Bram@DIJONG ~
$ ls
errors  script1  script2  temp

Robert Mark Bram@DIJONG ~
$ ls &>> temp
bash: syntax error near unexpected token `&>>'

Robert Mark Bram@DIJONG ~
$

Rob





--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

