zsh-workers
 help / color / mirror / code / Atom feed
* zmv
@ 2000-10-17 12:55 Peter Stephenson
  0 siblings, 0 replies; only message in thread
From: Peter Stephenson @ 2000-10-17 12:55 UTC (permalink / raw)
  To: Zsh hackers list

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-10-17 15:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-10-17 12:55 zmv Peter Stephenson

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).