Zing Shishak c619700
Description: Man page fixes as of mmv 1.01b-15
Zing Shishak c619700
 This patch contains the man-page fixes as of mmv 1.01b-15 when it has
Zing Shishak c619700
 been converted to the source format "3.0 (quilt)"
Zing Shishak c619700
Author: Multiple Authors. See changelog for details.
Zing Shishak c619700
Reviewed-By: Axel Beckert <abe@debian.org>
Zing Shishak c619700
Last-Update: 2012-12-29
Zing Shishak c619700
Zing Shishak c619700
--- mmv-1.01b.orig/mmv.1
Zing Shishak c619700
+++ mmv-1.01b/mmv.1
Zing Shishak c619700
@@ -2,7 +2,7 @@
Zing Shishak c619700
 .\" To print the MS-DOS version, use option -rO2.
Zing Shishak c619700
 .\" Under System V, take out the '.\"  ' from the next line.
Zing Shishak c619700
 .\" .nr O 1
Zing Shishak c619700
-.TH MMV 1 "November 20, 1989 (v1.0)"
Zing Shishak c619700
+.TH MMV 1 "November 20, 2001 (v1.0lfs)"
Zing Shishak c619700
 .ie !'\nO'2' \{\
Zing Shishak c619700
 .SH NAME
Zing Shishak c619700
 mmv \- move/copy/append/link multiple files by wildcard patterns
Zing Shishak c619700
@@ -21,13 +21,14 @@ mmv \- move/copy/append multiple files b
f1d9d80
 \}
f1d9d80
 .SH SYNOPSIS
f1d9d80
 .B mmv
f1d9d80
-.if '\nO'2' [\fB-m\fP|\fBx\fP|\fBr\fP|\fBc\fP|\fBo\fP|\fBa\fP|\fBz\fP]
f1d9d80
-.if '\nO'0' [\fB-m\fP|\fBx\fP|\fBr\fP|\fBc\fP|\fBo\fP|\fBa\fP|\fBl\fP|\fBs\fP]
f1d9d80
-.if '\nO'1' [\fB-m\fP|\fBx\fP|\fBr\fP|\fBc\fP|\fBo\fP|\fBa\fP|\fBl\fP]
f1d9d80
-[\fB-h\fP]
f1d9d80
-[\fB-d\fP|\fBp\fP]
f1d9d80
-[\fB-g\fP|\fBt\fP]
f1d9d80
-[\fB-v\fP|\fBn\fP]
f1d9d80
+.if '\nO'2' [\fB\-m\fP|\fBx\fP|\fBr\fP|\fBc\fP|\fBo\fP|\fBa\fP|\fBz\fP]
f1d9d80
+.if '\nO'0' [\fB\-m\fP|\fBx\fP|\fBr\fP|\fBc\fP|\fBo\fP|\fBa\fP|\fBl\fP|\fBs\fP]
f1d9d80
+.if '\nO'1' [\fB\-m\fP|\fBx\fP|\fBr\fP|\fBc\fP|\fBo\fP|\fBa\fP|\fBl\fP]
f1d9d80
+[\fB\-h\fP]
f1d9d80
+[\fB\-d\fP|\fBp\fP]
f1d9d80
+[\fB\-g\fP|\fBt\fP]
f1d9d80
+[\fB\-v\fP|\fBn\fP]
f1d9d80
+[\fB\-\-\fP]
f1d9d80
 [\fBfrom to\fP]
f1d9d80
 .if '\nO'2' \{\
f1d9d80
 .br
Zing Shishak c619700
@@ -56,6 +57,9 @@ from the entire set of actions specified
f1d9d80
 and gives the user the choice of either
f1d9d80
 proceeding by avoiding the offending parts
f1d9d80
 or aborting.
f1d9d80
+.I mmv
f1d9d80
+does support large files (LFS) but it does *NOT* support 
Zing Shishak c619700
+sparse files (i.e. it explodes them).
Zing Shishak c619700
 
f1d9d80
 .ce
f1d9d80
 The Task Options
Zing Shishak c619700
@@ -71,7 +75,7 @@ If none of these are specified,
f1d9d80
 .ie '\nO'2' \{\
f1d9d80
 a default (patchable by
f1d9d80
 .IR mmvpatch ,
f1d9d80
-and initially -x)
f1d9d80
+and initially \-x)
f1d9d80
 determines the task.
f1d9d80
 \}
f1d9d80
 .el \{\
Zing Shishak c619700
@@ -81,18 +85,18 @@ was invoked (argv[0]):
f1d9d80
 
f1d9d80
 	command name	default task
f1d9d80
 
f1d9d80
-	mmv			-x
f1d9d80
+	mmv			\-x
f1d9d80
 .br
f1d9d80
-	mcp			-c
f1d9d80
+	mcp			\-c
f1d9d80
 .br
f1d9d80
-	mad			-a
f1d9d80
+	mad			\-a
f1d9d80
 .br
f1d9d80
-	mln			-l
f1d9d80
+	mln			\-l
f1d9d80
 \}
f1d9d80
 .PP
f1d9d80
 The task option choices are:
f1d9d80
 .TP
f1d9d80
--m :
f1d9d80
+\-m :
f1d9d80
 move source file to target name.
f1d9d80
 Both must be on the same device.
f1d9d80
 Will not move directories.
Zing Shishak c619700
@@ -102,8 +106,8 @@ moves the link without checking if the l
f1d9d80
 directory is different than the old.
f1d9d80
 \}
f1d9d80
 .TP
f1d9d80
--x :
f1d9d80
-same as -m, except cross-device moves are done
f1d9d80
+\-x :
f1d9d80
+same as \-m, except cross-device moves are done
f1d9d80
 by copying, then deleting source.
f1d9d80
 When copying, sets the
f1d9d80
 .ie !'\nO'2' permission bits
Zing Shishak c619700
@@ -111,7 +115,7 @@ When copying, sets the
f1d9d80
 and file modification time
f1d9d80
 of the target file to that of the source file.
f1d9d80
 .TP
f1d9d80
--r :
f1d9d80
+\-r :
f1d9d80
 rename source file or directory to target name.
f1d9d80
 The target name must not include a path:
f1d9d80
 the file remains in the same directory in all cases.
Zing Shishak c619700
@@ -119,7 +123,7 @@ This option is the only way of renaming
f1d9d80
 .IR mmv .
f1d9d80
 .if '\nO'2' It is only available under DOS version 3.0 or higher.
f1d9d80
 .TP
f1d9d80
--c :
f1d9d80
+\-c :
f1d9d80
 copy source file to target name.
f1d9d80
 Sets the file modification time and
f1d9d80
 .ie !'\nO'2' permission bits
Zing Shishak c619700
@@ -128,7 +132,7 @@ of the target file to that of the source
f1d9d80
 regardless of whether the target file already exists.
f1d9d80
 Chains and cycles (to be explained below) are not allowed.
f1d9d80
 .TP
f1d9d80
--o :
f1d9d80
+\-o :
f1d9d80
 overwrite target name with source file.
f1d9d80
 .ie '\nO'2' \{\
f1d9d80
 If target file exists, its attributes are left unchanged.
Zing Shishak c619700
@@ -146,38 +150,38 @@ and the execute permission bits copied f
f1d9d80
 In either case, the file modification time is set to the current time.
f1d9d80
 \}
f1d9d80
 .TP
f1d9d80
--a :
f1d9d80
+\-a :
f1d9d80
 append contents of source file to target name.
f1d9d80
 Target file modification time is set to the current time.
f1d9d80
 If target file does not exist,
f1d9d80
 it is created with
f1d9d80
 .ie '\nO'2' attributes
f1d9d80
 .el permission bits
f1d9d80
-set as under -o.
f1d9d80
-Unlike all other options, -a allows multiple source files to have the
f1d9d80
-same target name, e.g. "mmv -a
f1d9d80
+set as under \-o.
f1d9d80
+Unlike all other options, \-a allows multiple source files to have the
f1d9d80
+same target name, e.g. "mmv \-a
f1d9d80
 .ie '\nO'2' *.c
f1d9d80
 .el \\*.c
f1d9d80
 big" will append all ".c" files to "big".
f1d9d80
-Chains and cycles are also allowed, so "mmv -a f f" will double up "f".
f1d9d80
+Chains and cycles are also allowed, so "mmv \-a f f" will double up "f".
f1d9d80
 .ie '\nO'2' \{\
f1d9d80
 .TP
f1d9d80
--z :
f1d9d80
-same as -a, but if the target file exists, and its last character is a ^Z,
f1d9d80
+\-z :
f1d9d80
+same as \-a, but if the target file exists, and its last character is a ^Z,
f1d9d80
 and the source file is not empty,
f1d9d80
 this ^Z is truncated before doing the append.
f1d9d80
 \}
f1d9d80
 .el \{\
f1d9d80
 .TP
f1d9d80
--l :
f1d9d80
+\-l :
f1d9d80
 link target name to source file.
f1d9d80
 Both must be on the same device,
f1d9d80
 and the source must not be a directory.
f1d9d80
 Chains and cycles are not allowed.
f1d9d80
 .if '\nO'0' \{\
f1d9d80
 .TP
f1d9d80
--s :
f1d9d80
-same as -l, but use symbolic links instead of hard links.
f1d9d80
+\-s :
f1d9d80
+same as \-l, but use symbolic links instead of hard links.
f1d9d80
 For the resulting link to aim back at the source,
f1d9d80
 either the source name must begin with a '/',
f1d9d80
 or the target must reside in either the current or the source directory.
Zing Shishak c619700
@@ -190,7 +194,7 @@ and the source can be a directory.
f1d9d80
 Only one of these option may be given,
f1d9d80
 and it applies to all matching files.
f1d9d80
 Remaining options need not be given separately,
f1d9d80
-i.e. "mmv -mk" is allowed.
f1d9d80
+i.e. "mmv \-mk" is allowed.
f1d9d80
 
f1d9d80
 .ce
f1d9d80
 Multiple Pattern Pairs
Zing Shishak c619700
@@ -232,7 +236,7 @@ a b
f1d9d80
 a c
f1d9d80
 .in -3
f1d9d80
 
f1d9d80
-would give the error message "a -> c : no match" because file "a"
f1d9d80
+would give the error message "a \-> c : no match" because file "a"
f1d9d80
 (even if it exists)
f1d9d80
 was already matched by the first pattern pair.
f1d9d80
 
Zing Shishak c619700
@@ -255,10 +259,10 @@ matching any single character,
f1d9d80
 and matching any one of a set of characters.
f1d9d80
 .PP
f1d9d80
 Between the '[' and ']', a range from character 'a' through character 'z'
f1d9d80
-is specified with "a-z".
f1d9d80
+is specified with "a\-z".
f1d9d80
 The set of matching characters can be negated by inserting
f1d9d80
 a '^' after the '['.
f1d9d80
-Thus, "[^b-e2-5_]"
f1d9d80
+Thus, "[^b\-e2\-5_]"
f1d9d80
 will match any character but 'b' through 'e', '2' through '5', and '_'.
f1d9d80
 .if '\nO'2' \{\
f1d9d80
 .PP
Zing Shishak c619700
@@ -305,13 +309,13 @@ However, the '~' is not treated as a wil
f1d9d80
 in the sense that it is not assigned a wildcard index (see below).
f1d9d80
 \}
f1d9d80
 .PP
f1d9d80
-Since matching a directory under a task option other than -r or -s
f1d9d80
+Since matching a directory under a task option other than \-r or \-s
f1d9d80
 would result in an error,
f1d9d80
-tasks other than -r and -s
f1d9d80
+tasks other than \-r and \-s
f1d9d80
 match directories only against completely explicit
f1d9d80
 .I from
f1d9d80
 patterns (i.e. not containing wildcards).
f1d9d80
-Under -r and -s, this applies only to "." and "..".
f1d9d80
+Under \-r and \-s, this applies only to "." and "..".
f1d9d80
 .PP
f1d9d80
 .ie '\nO'2' \{\
f1d9d80
 Hidden and system files are also only matched
Zing Shishak c619700
@@ -324,7 +328,7 @@ Files beginning with '.' are only matche
f1d9d80
 .I from
f1d9d80
 patterns that begin with an explicit '.'.
f1d9d80
 \}
f1d9d80
-However, if -h is specified, they are matched normally.
f1d9d80
+However, if \-h is specified, they are matched normally.
f1d9d80
 .if !'\nO'2' \{\
f1d9d80
 .PP
f1d9d80
 Warning: since the shell normally expands wildcards
Zing Shishak c619700
@@ -332,8 +336,9 @@ before passing the command-line argument
Zing Shishak c619700
 .IR mmv ,
Zing Shishak c619700
 it is usually necessary to enclose the command-line
Zing Shishak c619700
 .I from
Zing Shishak c619700
-pattern
Zing Shishak c619700
-in quotes.
Zing Shishak c619700
+and
Zing Shishak c619700
+.I to
Zing Shishak c619700
+patterns in quotes.
Zing Shishak c619700
 \}
Zing Shishak c619700
 
Zing Shishak c619700
 .ce
Zing Shishak c619700
@@ -363,7 +368,7 @@ pattern is "abc*.*" and the
f1d9d80
 pattern is "xyz#2.#1",
f1d9d80
 then "abc.txt" is targeted to "xyztxt.".
f1d9d80
 (The first '*' matched "", and the second matched "txt".)
f1d9d80
-Similarly, for the pattern pair ";*.[clp]" -> "#1#3\*(SL#2",
f1d9d80
+Similarly, for the pattern pair ";*.[clp]" \-> "#1#3\*(SL#2",
f1d9d80
 "foo1\*(SLfoo2\*(SLprog.c" is targeted to "foo1\*(SLfoo2\*(SLc\*(SLprog".
f1d9d80
 Note that there is no '\*(SL' following the "#1" in the
f1d9d80
 .I to
Zing Shishak c619700
@@ -397,7 +402,7 @@ expands the '~' in the exact same manner
f1d9d80
 does not expand it at all).
f1d9d80
 \}
f1d9d80
 .PP
f1d9d80
-For all task options other than -r, if the target name is a directory,
f1d9d80
+For all task options other than \-r, if the target name is a directory,
f1d9d80
 the real target name is formed by appending
f1d9d80
 a '\*(SL' followed by the last component
f1d9d80
 of the source file name.
Zing Shishak c619700
@@ -434,7 +439,7 @@ a b
f1d9d80
 .br
f1d9d80
 b c
f1d9d80
 
f1d9d80
-specifies the chain "a" -> "b" -> "c".
f1d9d80
+specifies the chain "a" \-> "b" \-> "c".
f1d9d80
 A cycle is a chain where the last target name
f1d9d80
 refers back to the first source file,
f1d9d80
 e.g. "mmv a a".
Zing Shishak c619700
@@ -461,9 +466,9 @@ Furthermore,
f1d9d80
 .I mmv
f1d9d80
 checks if any of its actions will result
f1d9d80
 in the destruction of existing files.
f1d9d80
-If the -d (delete) option is specified,
f1d9d80
+If the \-d (delete) option is specified,
f1d9d80
 all file deletions or overwrites are done silently.
f1d9d80
-Under -p (protect), all deletions or overwrites
f1d9d80
+Under \-p (protect), all deletions or overwrites
f1d9d80
 (except those specified with "(*)" on the standard input, see below)
f1d9d80
 are treated as errors.
f1d9d80
 And if neither option is specified,
Zing Shishak c619700
@@ -487,16 +492,16 @@ Once all errors are detected,
f1d9d80
 queries the user whether he wishes
f1d9d80
 to continue by avoiding the erroneous actions or to abort altogether.
f1d9d80
 This and all other queries may be avoided by specifying either the
f1d9d80
--g (go) or -t (terminate) option.
f1d9d80
+\-g (go) or \-t (terminate) option.
f1d9d80
 The former will resolve all difficulties by avoiding the erroneous actions;
f1d9d80
 the latter will abort
f1d9d80
 .I mmv
f1d9d80
 if any errors are detected.
f1d9d80
 Specifying either of them defaults
f1d9d80
 .I mmv
f1d9d80
-to -p, unless -d is specified
f1d9d80
+to \-p, unless \-d is specified
f1d9d80
 (see above).
f1d9d80
-Thus, -g and -t are most useful when running
f1d9d80
+Thus, \-g and \-t are most useful when running
f1d9d80
 .I mmv
f1d9d80
 in the background or in
f1d9d80
 a shell script,
Zing Shishak c619700
@@ -508,28 +513,28 @@ Reports
f1d9d80
 Once the actions to be performed are determined,
f1d9d80
 .I mmv
f1d9d80
 performs them silently,
f1d9d80
-unless either the -v (verbose) or -n (no-execute) option is specified.
f1d9d80
+unless either the \-v (verbose) or \-n (no-execute) option is specified.
f1d9d80
 The former causes
f1d9d80
 .I mmv
f1d9d80
 to report each performed action
f1d9d80
 on the standard output as
f1d9d80
 
f1d9d80
-a -> b : done.
f1d9d80
+a \-> b : done.
f1d9d80
 
f1d9d80
 Here, "a" and "b" would be replaced by the source and target names,
f1d9d80
 respectively.
f1d9d80
 If the action deletes the old target,
f1d9d80
 a "(*)" is inserted after the the target name.
f1d9d80
-Also, the "->" symbol is modified when a cycle has to be broken:
f1d9d80
+Also, the "\->" symbol is modified when a cycle has to be broken:
f1d9d80
 the '>' is changed to a '^' on the action prior to which the old target
f1d9d80
 is renamed to a temporary,
f1d9d80
-and the '-' is changed to a '=' on the action where the temporary is used.
f1d9d80
+and the '\-' is changed to a '=' on the action where the temporary is used.
f1d9d80
 .PP
f1d9d80
-Under -n, none of the actions are performed,
f1d9d80
+Under \-n, none of the actions are performed,
f1d9d80
 but messages like the above are printed on the standard output
f1d9d80
 with the ": done." omitted.
f1d9d80
 .PP
f1d9d80
-The output generated by -n can (after editing, if desired)
f1d9d80
+The output generated by \-n can (after editing, if desired)
f1d9d80
 be fed back to
f1d9d80
 .I mmv
f1d9d80
 on the standard input
Zing Shishak c619700
@@ -545,9 +550,9 @@ To facilitate this,
f1d9d80
 ignores lines on the standard input that look
f1d9d80
 like its own error and "done" messages,
f1d9d80
 as well as all lines beginning with white space,
f1d9d80
-and will accept pattern pairs with or without the intervening "->"
f1d9d80
-(or "-^", "=>", or "=^").
f1d9d80
-Lines with "(*)" after the target pattern have the effect of enabling -d
f1d9d80
+and will accept pattern pairs with or without the intervening "\->"
f1d9d80
+(or "\-^", "=>", or "=^").
f1d9d80
+Lines with "(*)" after the target pattern have the effect of enabling \-d
f1d9d80
 for the files matching this pattern only,
f1d9d80
 so that such deletions are done silently.
f1d9d80
 When feeding
Zing Shishak c619700
@@ -596,11 +601,11 @@ on a copy of
f1d9d80
 .I mmv
f1d9d80
 named as follows:
f1d9d80
 
f1d9d80
-	-x, -m, -r		mmv.exe
f1d9d80
+	\-x, \-m, \-r		mmv.exe
f1d9d80
 .br
f1d9d80
-	-c, -o			mcp.exe
f1d9d80
+	\-c, \-o			mcp.exe
f1d9d80
 .br
f1d9d80
-	-a, -z			mad.exe
f1d9d80
+	\-a, \-z			mad.exe
f1d9d80
 .PP
f1d9d80
 .I Mmvpatch
f1d9d80
 also determines the best way to uniquely identify directories.