diff options
Diffstat (limited to 'usr/src/man/man1/mv.1')
-rw-r--r-- | usr/src/man/man1/mv.1 | 44 |
1 files changed, 14 insertions, 30 deletions
diff --git a/usr/src/man/man1/mv.1 b/usr/src/man/man1/mv.1 index 9c5c2874f3..d96e183a4f 100644 --- a/usr/src/man/man1/mv.1 +++ b/usr/src/man/man1/mv.1 @@ -2,14 +2,14 @@ .\" Copyright 1989 AT&T .\" Copyright (c) 1992, X/Open Company Limited All Rights Reserved .\" Portions Copyright (c) 2007, Sun Microsystems, Inc. All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License. .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License. .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner] -.TH mv 1 "17 Jul 2007" "SunOS 5.11" "User Commands" +.TH MV 1 "Jul 17, 2007" .SH NAME mv \- move files .SH SYNOPSIS @@ -117,12 +117,10 @@ the same owner id as the destination file. The following options are supported: .sp .ne 2 -.mk .na \fB\fB-f\fR\fR .ad .RS 6n -.rt \fBmv\fR moves the file(s) without prompting even if it is writing over an existing \fItarget\fR. Note that this is the default if the standard input is not a terminal. @@ -130,12 +128,10 @@ not a terminal. .sp .ne 2 -.mk .na \fB\fB-i\fR\fR .ad .RS 6n -.rt \fBmv\fR prompts for confirmation whenever the move would overwrite an existing \fItarget\fR. An affirmative answer means that the move should proceed. Any other answer prevents \fBmv\fR from overwriting the \fItarget\fR. @@ -157,34 +153,28 @@ error. The last option specified determines the behavior of \fBmv\fR. The following operands are supported: .sp .ne 2 -.mk .na \fB\fIsource\fR\fR .ad .RS 15n -.rt A path name of a file or directory to be moved. .RE .sp .ne 2 -.mk .na \fB\fItarget_file\fR\fR .ad .RS 15n -.rt A new path name for the file or directory being moved. .RE .sp .ne 2 -.mk .na \fB\fItarget_dir\fR\fR .ad .RS 15n -.rt A path name of an existing directory into which to move the input files. .RE @@ -215,23 +205,19 @@ expression defined for the \fByesexpr\fR. See \fBlocale\fR(5). The following exit values are returned: .sp .ne 2 -.mk .na \fB\fB0\fR\fR .ad .RS 6n -.rt All input files were moved successfully. .RE .sp .ne 2 -.mk .na \fB\fB>0\fR\fR .ad .RS 6n -.rt An error occurred. .RE @@ -244,15 +230,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -CSIEnabled +CSI Enabled _ -Interface StabilityStable +Interface Stability Stable .TE .SS "/usr/xpg4/bin/mv" @@ -260,15 +245,14 @@ Interface StabilityStable .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -CSIEnabled +CSI Enabled _ -Interface StabilityStandard +Interface Stability Standard .TE .SH SEE ALSO |