1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-04 08:30:54 +02:00

Miek Gieben: users/12781: zmv Usage message

This commit is contained in:
Peter Stephenson 2008-04-13 16:11:53 +00:00
parent b815f89220
commit c1db47d16b
2 changed files with 6 additions and 1 deletions

View file

@ -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

View file

@ -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'