From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12019 invoked from network); 28 Jul 2004 17:15:01 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 28 Jul 2004 17:15:01 -0000 Received: (qmail 94719 invoked from network); 28 Jul 2004 17:14:55 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 28 Jul 2004 17:14:55 -0000 Received: (qmail 5411 invoked by alias); 28 Jul 2004 17:12:54 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 7783 Received: (qmail 5402 invoked from network); 28 Jul 2004 17:12:54 -0000 Received: from unknown (HELO a.mx.sunsite.dk) (130.225.247.88) by 130.225.247.90 with SMTP; 28 Jul 2004 17:12:54 -0000 Received: (qmail 90182 invoked from network); 28 Jul 2004 17:11:17 -0000 Received: from dan.emsphone.com (199.67.51.101) by a.mx.sunsite.dk with SMTP; 28 Jul 2004 17:11:14 -0000 Received: (from dan@localhost) by dan.emsphone.com (8.12.10/8.12.10) id i6SHAw7Q071711; Wed, 28 Jul 2004 12:10:58 -0500 (CDT) (envelope-from dan) Date: Wed, 28 Jul 2004 12:10:58 -0500 From: Dan Nelson To: Wayne Davison Cc: Petre Bandac , zsh-users@sunsite.dk Subject: Re: bash command incompatibility Message-ID: <20040728171057.GF9972@dan.emsphone.com> References: <20040728110734.157a74e4@xxl.rdsbv.ro> <20040728110213.GA30625@blorf.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040728110213.GA30625@blorf.net> X-OS: FreeBSD 5.2-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.6i X-Spam-Checker-Version: SpamAssassin 2.63 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, hits=-4.9 required=6.0 tests=BAYES_00 autolearn=no version=2.63 X-Spam-Hits: -4.9 In the last episode (Jul 28), Wayne Davison said: > On Wed, Jul 28, 2004 at 11:07:34AM +0300, Petre Bandac wrote: > > [petre@xxl]$ cat /dev/null > fetchmail.log > > As an alternative to turning off the no_clobber option (as Peter > suggested), you can just tell zsh that you know that the file already > exists by using a '|' after the '>', like this: > > cat /dev/null >|fetchmail.log I prefer the ! syntax, since | means "pipe" to me, and vi also uses ! as a "force" flag. -- Dan Nelson dnelson@allantgroup.com