From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25880 invoked from network); 10 Feb 2000 15:51:48 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 10 Feb 2000 15:51:48 -0000 Received: (qmail 23300 invoked by alias); 10 Feb 2000 15:51:41 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 9667 Received: (qmail 23290 invoked from network); 10 Feb 2000 15:51:39 -0000 From: "Bart Schaefer" Message-Id: <1000210155128.ZM2434@candle.brasslantern.com> Date: Thu, 10 Feb 2000 15:51:28 +0000 In-Reply-To: <38A2B5EB.20014972@u.genie.co.uk> Comments: In reply to Oliver Kiddle "PATCH: _diff" (Feb 10, 12:58pm) References: <38A2B5EB.20014972@u.genie.co.uk> X-Mailer: Z-Mail (5.0.0 30July97) To: Zsh workers Subject: Re: PATCH: _diff MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Feb 10, 12:58pm, Oliver Kiddle wrote: } Subject: PATCH: _diff } } This may have already been fixed but the diff completion seemed to call } diff with /dev/null as stdin but not stdout and stderr. I got "malformed patch" from this; line wrapping. But why not use the more compact zsh syntax? This instead of Oliver's: Index: Completion/User/_diff_options =================================================================== @@ -4,7 +4,7 @@ (( $+_diff_is_gnu )) || { _diff_is_gnu=0; - [[ $(command diff -v &/dev/null) == *GNU* ]] && _diff_is_gnu=1 } if (( _diff_is_gnu )) -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com