From c1db47d16b799820491994447514c7e3dbc7316a Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Sun, 13 Apr 2008 16:11:53 +0000 Subject: Miek Gieben: users/12781: zmv Usage message --- Functions/Misc/zmv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Functions/Misc') 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' -- cgit 1.4.1