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:
parent
b815f89220
commit
c1db47d16b
2 changed files with 6 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue