diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2008-04-13 16:11:53 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2008-04-13 16:11:53 +0000 |
commit | c1db47d16b799820491994447514c7e3dbc7316a (patch) | |
tree | 5cfe106f39ade3d20eda794f1062505158a18dcb | |
parent | b815f8922049d27641ec77ae7e63223c5de94c96 (diff) | |
download | zsh-c1db47d16b799820491994447514c7e3dbc7316a.tar.gz zsh-c1db47d16b799820491994447514c7e3dbc7316a.tar.xz zsh-c1db47d16b799820491994447514c7e3dbc7316a.zip |
Miek Gieben: users/12781: zmv Usage message
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Functions/Misc/zmv | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index 44df5e742..e4a3e7d77 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-04-13 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * Miek Gieben: users/12781: Functions/Misc/zmv: too many + backslashes in Usage message. + 2008-04-12 Peter Stephenson <p.w.stephenson@ntlworld.com> * Frank Terbeck: 24807: Completion/compint: Completion system diff --git a/Functions/Misc/zmv b/Functions/Misc/zmv index e85b0b5ae..6b6c149b5 100644 --- a/Functions/Misc/zmv +++ b/Functions/Misc/zmv @@ -148,7 +148,7 @@ if (( $# != 2 )); then %N [OPTIONS] oldpattern newpattern where oldpattern contains parenthesis surrounding patterns which will be replaced in turn by \$1, \$2, ... in newpattern. For example, - %N '(*).lis' '\\\\\$1.txt' + %N '(*).lis' '\$1.txt' renames 'foo.lis' to 'foo.txt', 'my.old.stuff.lis' to 'my.old.stuff.txt', and so on. Something simpler (for basic commands) is the -W option: %N -W '*.lis' '*.txt' |