mdoc(7) police: tidy up, bump document date on behalf of the -n option.
This commit is contained in:
parent
c3ff3e424c
commit
ca38f0ddf7
18
bin/mv/mv.1
18
bin/mv/mv.1
@ -35,7 +35,7 @@
|
|||||||
.\" @(#)mv.1 8.1 (Berkeley) 5/31/93
|
.\" @(#)mv.1 8.1 (Berkeley) 5/31/93
|
||||||
.\" $FreeBSD$
|
.\" $FreeBSD$
|
||||||
.\"
|
.\"
|
||||||
.Dd May 31, 1993
|
.Dd July 9, 2002
|
||||||
.Dt MV 1
|
.Dt MV 1
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
@ -43,11 +43,11 @@
|
|||||||
.Nd move files
|
.Nd move files
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm
|
.Nm
|
||||||
.Op Fl f | Fl i | Fl n
|
.Op Fl f | i | n
|
||||||
.Op Fl v
|
.Op Fl v
|
||||||
.Ar source target
|
.Ar source target
|
||||||
.Nm
|
.Nm
|
||||||
.Op Fl f | Fl i | Fl n
|
.Op Fl f | i | n
|
||||||
.Op Fl v
|
.Op Fl v
|
||||||
.Ar source ... directory
|
.Ar source ... directory
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
@ -73,7 +73,7 @@ concatenation of the last operand, a slash, and the final pathname
|
|||||||
component of the named file.
|
component of the named file.
|
||||||
.Pp
|
.Pp
|
||||||
The following options are available:
|
The following options are available:
|
||||||
.Bl -tag -width flag
|
.Bl -tag -width indent
|
||||||
.It Fl f
|
.It Fl f
|
||||||
Do not prompt for confirmation before overwriting the destination
|
Do not prompt for confirmation before overwriting the destination
|
||||||
path.
|
path.
|
||||||
@ -90,9 +90,9 @@ Cause
|
|||||||
to write a prompt to standard error before moving a file that would
|
to write a prompt to standard error before moving a file that would
|
||||||
overwrite an existing file.
|
overwrite an existing file.
|
||||||
If the response from the standard input begins with the character
|
If the response from the standard input begins with the character
|
||||||
.Sq Li y
|
.Ql y
|
||||||
or
|
or
|
||||||
.Sq Li Y ,
|
.Ql Y ,
|
||||||
the move is attempted.
|
the move is attempted.
|
||||||
(The
|
(The
|
||||||
.Fl i
|
.Fl i
|
||||||
@ -127,7 +127,7 @@ prompts the user for confirmation as specified for the
|
|||||||
option.
|
option.
|
||||||
.Pp
|
.Pp
|
||||||
As the
|
As the
|
||||||
.Xr rename 2
|
.Xr rename 2
|
||||||
call does not work across filesystems,
|
call does not work across filesystems,
|
||||||
.Nm
|
.Nm
|
||||||
uses
|
uses
|
||||||
@ -138,8 +138,8 @@ to accomplish the move.
|
|||||||
The effect is equivalent to:
|
The effect is equivalent to:
|
||||||
.Bd -literal -offset indent
|
.Bd -literal -offset indent
|
||||||
rm -f destination_path && \e
|
rm -f destination_path && \e
|
||||||
\tcp -pRP source_file destination && \e
|
cp -pRP source_file destination && \e
|
||||||
\trm -rf source_file
|
rm -rf source_file
|
||||||
.Ed
|
.Ed
|
||||||
.Sh DIAGNOSTICS
|
.Sh DIAGNOSTICS
|
||||||
.Ex -std
|
.Ex -std
|
||||||
|
Loading…
x
Reference in New Issue
Block a user