From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28089 invoked from network); 17 Oct 2000 15:00:35 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 17 Oct 2000 15:00:35 -0000 Received: (qmail 28020 invoked by alias); 17 Oct 2000 15:00:30 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 13009 Received: (qmail 28013 invoked from network); 17 Oct 2000 15:00:29 -0000 Date: Tue, 17 Oct 2000 13:55:01 +0100 From: Peter Stephenson Subject: zmv To: zsh-workers@sunsite.auc.dk (Zsh hackers list) Message-id: <0G2K000L8RVO81@la-la.cambridgesiliconradio.com> Content-transfer-encoding: 7BIT Here's an uposted patch for zmv that's being lying around. It arose simply because I spent too long wondering why something didn't get renamed. Index: Functions/Misc/zmv =================================================================== RCS file: /cvsroot/zsh/zsh/Functions/Misc/zmv,v retrieving revision 1.4 diff -u -r1.4 zmv --- Functions/Misc/zmv 2000/06/20 09:11:05 1.4 +++ Functions/Misc/zmv 2000/10/17 12:53:51 @@ -235,6 +235,7 @@ elif [[ $f = $g ]]; then # don't cause error: more useful just to skip # errs=($errs "$f not altered by substitution") + [[ -n $opt_v ]] && print "$f not altered, ignored" continue elif [[ -n $from[$g] && ! -d $g ]]; then errs=($errs "$f and $from[$g] both map to $g") -- Peter Stephenson Software Engineer Cambridge Silicon Radio, Unit 300, Science Park, Milton Road, Cambridge, CB4 0XL, UK Tel: +44 (0)1223 392070