summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2002-08-09 10:46:00 +0000
committerru <ru@FreeBSD.org>2002-08-09 10:46:00 +0000
commit741ae405d5d9ded7feedf9db498de43ee97ac30e (patch)
treee3c855c8178eaab4497ebda89657139a55253df4 /bin
parent704e2cf623044cf9edc0c34acfa209b50a7734e1 (diff)
downloadFreeBSD-src-741ae405d5d9ded7feedf9db498de43ee97ac30e.zip
FreeBSD-src-741ae405d5d9ded7feedf9db498de43ee97ac30e.tar.gz
mdoc(7) police: tidy up, bump document date on behalf of the -n option.
Diffstat (limited to 'bin')
-rw-r--r--bin/mv/mv.118
1 files changed, 9 insertions, 9 deletions
diff --git a/bin/mv/mv.1 b/bin/mv/mv.1
index d034727..fed61a9 100644
--- a/bin/mv/mv.1
+++ b/bin/mv/mv.1
@@ -35,7 +35,7 @@
.\" @(#)mv.1 8.1 (Berkeley) 5/31/93
.\" $FreeBSD$
.\"
-.Dd May 31, 1993
+.Dd July 9, 2002
.Dt MV 1
.Os
.Sh NAME
@@ -43,11 +43,11 @@
.Nd move files
.Sh SYNOPSIS
.Nm
-.Op Fl f | Fl i | Fl n
+.Op Fl f | i | n
.Op Fl v
.Ar source target
.Nm
-.Op Fl f | Fl i | Fl n
+.Op Fl f | i | n
.Op Fl v
.Ar source ... directory
.Sh DESCRIPTION
@@ -73,7 +73,7 @@ concatenation of the last operand, a slash, and the final pathname
component of the named file.
.Pp
The following options are available:
-.Bl -tag -width flag
+.Bl -tag -width indent
.It Fl f
Do not prompt for confirmation before overwriting the destination
path.
@@ -90,9 +90,9 @@ Cause
to write a prompt to standard error before moving a file that would
overwrite an existing file.
If the response from the standard input begins with the character
-.Sq Li y
+.Ql y
or
-.Sq Li Y ,
+.Ql Y ,
the move is attempted.
(The
.Fl i
@@ -127,7 +127,7 @@ prompts the user for confirmation as specified for the
option.
.Pp
As the
-.Xr rename 2
+.Xr rename 2
call does not work across filesystems,
.Nm
uses
@@ -138,8 +138,8 @@ to accomplish the move.
The effect is equivalent to:
.Bd -literal -offset indent
rm -f destination_path && \e
-\tcp -pRP source_file destination && \e
-\trm -rf source_file
+cp -pRP source_file destination && \e
+rm -rf source_file
.Ed
.Sh DIAGNOSTICS
.Ex -std
OpenPOWER on IntegriCloud