Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

zmv



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 <pws@xxxxxxx>                  Software Engineer
Cambridge Silicon Radio, Unit 300, Science Park, Milton Road,
Cambridge, CB4 0XL, UK                          Tel: +44 (0)1223 392070



Messages sorted by: Reverse Date, Date, Thread, Author