diff options
Diffstat (limited to 'usr/src/man/man1/ln.1')
-rw-r--r-- | usr/src/man/man1/ln.1 | 42 |
1 files changed, 13 insertions, 29 deletions
diff --git a/usr/src/man/man1/ln.1 b/usr/src/man/man1/ln.1 index 926a9c76ab..bb11e286e9 100644 --- a/usr/src/man/man1/ln.1 +++ b/usr/src/man/man1/ln.1 @@ -2,14 +2,14 @@ .\" Copyright 1989 AT&T .\" Copyright (c) 2004, Sun Microsystems, Inc. All Rights Reserved .\" Portions Copyright (c) 1992, X/Open Company Limited 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 ln 1 "25 Mar 2004" "SunOS 5.11" "User Commands" +.TH LN 1 "Mar 25, 2004" .SH NAME ln \- make hard or symbolic links to files .SH SYNOPSIS @@ -96,24 +96,20 @@ The following options are supported for both \fB/usr/bin/ln\fR and \fB/usr/xpg4/bin/ln\fR: .sp .ne 2 -.mk .na \fB\fB-f\fR\fR .ad .RS 6n -.rt Links files without questioning the user, even if the mode of \fItarget\fR forbids writing. This is the default if the standard input is not a terminal. .RE .sp .ne 2 -.mk .na \fB\fB-s\fR\fR .ad .RS 6n -.rt Creates a symbolic link. .sp If the \fB-s\fR option is used with two arguments, \fItarget\fR may be an @@ -141,12 +137,10 @@ different file systems. The following option is supported for \fB/usr/bin/ln\fR only: .sp .ne 2 -.mk .na \fB\fB-n\fR\fR .ad .RS 6n -.rt If \fItarget\fR is an existing file, writes a diagnostic message to stderr and goes on to any remaining \fIsource_file\fRs. The \fB-f\fR option overrides this option. This is the default behavior for \fB/usr/bin/ln\fR and @@ -159,12 +153,10 @@ option. This is the default behavior for \fB/usr/bin/ln\fR and The following operands are supported: .sp .ne 2 -.mk .na \fB\fIsource_file\fR\fR .ad .RS 15n -.rt A path name of a file to be linked. This can be either a regular or special file. If the \fB-s\fR option is specified, \fIsource_file\fR can also be a directory. @@ -172,12 +164,10 @@ directory. .sp .ne 2 -.mk .na \fB\fItarget\fR\fR .ad .RS 15n -.rt The path name of the new directory entry to be created, or of an existing directory in which the new directory entries are to be created. .RE @@ -199,23 +189,19 @@ that affect the execution of \fBln\fR: \fBLANG\fR, \fBLC_ALL\fR, The following exit values are returned: .sp .ne 2 -.mk .na \fB\fB0\fR\fR .ad .RS 6n -.rt All the specified files were linked successfully .RE .sp .ne 2 -.mk .na \fB\fB>0\fR\fR .ad .RS 6n -.rt An error occurred. .RE @@ -228,13 +214,12 @@ 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 .TE .SS "/usr/xpg4/bin/ln" @@ -242,15 +227,14 @@ CSIEnabled .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 |