From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from math.gatech.edu (euclid.skiles.gatech.edu [130.207.146.50]) by werple.net.au (8.7/8.7.1) with SMTP id LAA06767 for ; Sat, 11 Nov 1995 11:22:22 +1100 (EST) Received: by math.gatech.edu (5.x/SMI-SVR4) id AA17605; Fri, 10 Nov 1995 19:09:38 -0500 Resent-Date: Fri, 10 Nov 1995 16:12:32 -0800 Old-Return-Path: From: schaefer@z-code.ncd.com (Barton E. Schaefer) Message-Id: <951110161232.ZM120@zyrcon.z-code.com> Date: Fri, 10 Nov 1995 16:12:32 -0800 In-Reply-To: Richard Coleman "Re: rmstar option nit in 2.6-beta11" (Nov 10, 6:45pm) References: <199511102345.SAA00693@redwood.skiles.gatech.edu> Reply-To: schaefer@z-code.ncd.com X-Face: czU|*h"p8AX?4.I.yU.^s%TIMx|"-s,*'|#H^|e,QjE&!jL%<]:-.U/;khS%3a2BC5_d#)( mz=$$G0u9P&*N8cA~b[URf;lgKRif@#qEf[ltie#Gg0%6$b`e`k.Cgw:\qJx\\a7c(K7^3;gXW:e1@ J, zsh-workers@math.gatech.edu Subject: Re: rmstar option nit in 2.6-beta11 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Resent-Message-Id: <"gGvQV.0._I4.2d-em"@euclid> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/593 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu On Nov 10, 6:45pm, Richard Coleman wrote: } Subject: Re: rmstar option nit in 2.6-beta11 } } Interesting. Looking at the code, I see that if you do } } $ rm * } } and then type `n' when it queries you, it will abort the command with } a return value of 1. If you type } } $ rm file1 * } } and then type `n' when it queries you, it will delete `*' from the argument } list and continue. Therefore file1 gets deleted and it returns with a } return value of 0. } } Not very consistent. Look at the case of $ rm foo/file1 bar/* before you pass judgement. -- Bart Schaefer Vice President, Technology, Z-Code Software schaefer@z-code.com Division of NCD Software Corporation http://www.well.com/www/barts