diff options
Diffstat (limited to 'usr/src/man/man1/join.1')
| -rw-r--r-- | usr/src/man/man1/join.1 | 49 |
1 files changed, 10 insertions, 39 deletions
diff --git a/usr/src/man/man1/join.1 b/usr/src/man/man1/join.1 index 02ec2fbde8..274899a63c 100644 --- a/usr/src/man/man1/join.1 +++ b/usr/src/man/man1/join.1 @@ -1,25 +1,25 @@ '\" te .\" Copyright 1989 AT&T Copyright (c) 1992, X/Open Company Limited All Rights Reserved Portions Copyright (c) 2003, 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 join 1 "8 Feb 2000" "SunOS 5.11" "User Commands" +.TH JOIN 1 "Feb 8, 2000" .SH NAME join \- relational database operator .SH SYNOPSIS .LP .nf -\fBjoin\fR [\fB-a\fR \fIfilenumber\fR | \fB-v\fR \fIfilenumber\fR] [\fB-1\fR \fIfieldnumber\fR] +\fBjoin\fR [\fB-a\fR \fIfilenumber\fR | \fB-v\fR \fIfilenumber\fR] [\fB-1\fR \fIfieldnumber\fR] [\fB-2\fR \fIfieldnumber\fR] [\fB-o\fR \fIlist\fR] [\fB-e\fR \fIstring\fR] [\fB-t\fR \fIchar\fR] \fIfile1\fR \fIfile2\fR .fi .LP .nf -\fBjoin\fR [\fB-a\fR \fIfilenumber\fR] [\fB-j\fR \fIfieldnumber\fR] [\fB-j1\fR \fIfieldnumber\fR] +\fBjoin\fR [\fB-a\fR \fIfilenumber\fR] [\fB-j\fR \fIfieldnumber\fR] [\fB-j1\fR \fIfieldnumber\fR] [\fB-j2\fR \fIfieldnumber\fR] [\fB-o\fR \fIlist\fR] [\fB-e\fR \fIstring\fR] [\fB-t\fR \fIchar\fR] \fIfile1\fR \fIfile2\fR .fi @@ -53,12 +53,10 @@ should be a \fB1\fR or a \fB2\fR referring to either \fIfile1\fR or \fIfile2\fR, respectively. .sp .ne 2 -.mk .na \fB\fB-a\fR \fIfilenumber\fR \fR .ad .RS 20n -.rt In addition to the normal output, produce a line for each unpairable line in file \fIfilenumber\fR, where \fIfilenumber\fR is \fB1\fR or \fB2\fR. If both \fB-a\fR \fB1\fR and \fB-a\fR \fB2\fR are specified, all unpairable lines will @@ -67,58 +65,48 @@ be output. .sp .ne 2 -.mk .na \fB\fB-e\fR \fIstring\fR \fR .ad .RS 20n -.rt Replace empty output fields in the list selected by option \fB-o\fR with the string \fIstring\fR. .RE .sp .ne 2 -.mk .na \fB\fB-j\fR \fIfieldnumber\fR \fR .ad .RS 20n -.rt Equivalent to \fB-1\fR\fIfieldnumber\fR \fB-\fR\fB2\fR\fIfieldnumber\fR. .RE .sp .ne 2 -.mk .na \fB\fB-j1\fR \fIfieldnumber\fR \fR .ad .RS 20n -.rt Equivalent to \fB-1\fR\fIfieldnumber\fR. .RE .sp .ne 2 -.mk .na \fB\fB-j2\fR \fIfieldnumber\fR \fR .ad .RS 20n -.rt Equivalent to \fB-2\fR\fIfieldnumber\fR. Fields are numbered starting with \fB1\fR. .RE .sp .ne 2 -.mk .na \fB\fB-o\fR \fIlist\fR \fR .ad .RS 20n -.rt Each output line includes the fields specified in \fIlist\fR. Fields selected by \fIlist\fR that do not appear in the input will be treated as empty output fields. (See the \fB-e\fR option.) Each element of which has the either the @@ -129,12 +117,10 @@ specifically requested. .sp .ne 2 -.mk .na \fB\fB-t\fR \fIchar\fR \fR .ad .RS 20n -.rt Use character \fIchar\fR as a separator. Every appearance of \fIchar\fR in a line is significant. The character \fIchar\fR is used as the field separator for both input and output. With this option specified, the collating term @@ -143,12 +129,10 @@ should be the same as \fBsort\fR without the \fB-b\fR option. .sp .ne 2 -.mk .na \fB\fB-v\fR \fIfilenumber\fR \fR .ad .RS 20n -.rt Instead of the default output, produce a line only for each unpairable line in \fIfilenumber\fR, where \fIfilenumber\fR is \fB1\fR or \fB2\fR. If both \fB-v\fR \fB1\fR and \fB-v\fR \fB2\fR are specified, all unpairable lines will @@ -157,24 +141,20 @@ be output. .sp .ne 2 -.mk .na \fB\fB-1\fR \fIfieldnumber\fR \fR .ad .RS 20n -.rt Join on the \fIfieldnumber\fRth field of file 1. Fields are decimal integers starting with \fB1\fR. .RE .sp .ne 2 -.mk .na \fB\fB-2\fR\fIfieldnumber\fR \fR .ad .RS 20n -.rt Join on the \fIfieldnumber\fRth field of file 2. Fields are decimal integers starting with \fB1\fR. .RE @@ -185,23 +165,19 @@ starting with \fB1\fR. The following operands are supported: .sp .ne 2 -.mk .na \fB\fIfile1\fR \fR .ad .RS 10n -.rt .RE .sp .ne 2 -.mk .na \fB\fIfile2\fR \fR .ad .RS 10n -.rt A path name of a file to be joined. If either of the \fIfile1\fR or \fIfile2\fR operands is \fB\(mi\fR, the standard input is used in its place. .RE @@ -311,23 +287,19 @@ that affect the execution of \fBjoin\fR: \fBLANG\fR, \fBLC_ALL\fR, The following exit values are returned: .sp .ne 2 -.mk .na \fB\fB0\fR \fR .ad .RS 7n -.rt All input files were output successfully. .RE .sp .ne 2 -.mk .na \fB\fB>0\fR \fR .ad .RS 7n -.rt An error occurred. .RE @@ -339,15 +311,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 StabilityStandard +Interface Stability Standard .TE .SH SEE ALSO |
