summaryrefslogtreecommitdiff
path: root/usr/src/man/man1/paste.1
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/man/man1/paste.1')
-rw-r--r--usr/src/man/man1/paste.143
1 files changed, 8 insertions, 35 deletions
diff --git a/usr/src/man/man1/paste.1 b/usr/src/man/man1/paste.1
index 29b3097b26..b8d66c9d8f 100644
--- a/usr/src/man/man1/paste.1
+++ b/usr/src/man/man1/paste.1
@@ -1,13 +1,13 @@
'\" te
.\" Copyright 1989 AT&T Copyright (c) 1992, X/Open Company Limited All Rights Reserved Portions Copyright (c) 1996, 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 paste 1 "20 Dec 1996" "SunOS 5.11" "User Commands"
+.TH PASTE 1 "Dec 20, 1996"
.SH NAME
paste \- merge corresponding or subsequent lines of files
.SH SYNOPSIS
@@ -38,12 +38,10 @@ is specified.
The following options are supported:
.sp
.ne 2
-.mk
.na
\fB\fB-d\fR \fIlist\fR \fR
.ad
.RS 12n
-.rt
Unless a backslash character (\|\e\|) appears in \fIlist\fR, each character in
\fIlist\fR is an element specifying a delimiter character. If a backslash
character appears in \fIlist\fR, the backslash character and one or more
@@ -86,45 +84,37 @@ If a backslash character appears in \fIlist\fR, it and the character following
it will be used to represent the following delimiter characters:
.sp
.ne 2
-.mk
.na
\fB\fB\en\fR \fR
.ad
.RS 9n
-.rt
Newline character.
.RE
.sp
.ne 2
-.mk
.na
\fB\fB\et\fR \fR
.ad
.RS 9n
-.rt
Tab character.
.RE
.sp
.ne 2
-.mk
.na
\fB\fB\e\e\fR \fR
.ad
.RS 9n
-.rt
Backslash character.
.RE
.sp
.ne 2
-.mk
.na
\fB\fB\e0\fR \fR
.ad
.RS 9n
-.rt
Empty string (not a null character). If \fB\e0\fR is immediately followed by
the character \fBx\fR, the character \fBX\fR, or any character defined by the
\fBLC_CTYPE\fR \fBdigit\fR keyword, the results are unspecified.
@@ -135,12 +125,10 @@ If any other characters follow the backslash, the results are unspecified.
.sp
.ne 2
-.mk
.na
\fB\fB-s\fR \fR
.ad
.RS 12n
-.rt
Concatenate all of the lines of each separate input file in command line order.
The \fBNEWLINE\fR character of every line except the last line in each input
file will be replaced with the \fBTAB\fR character, unless otherwise specified
@@ -153,12 +141,10 @@ by the \fB-d\fR option.
The following operand is supported:
.sp
.ne 2
-.mk
.na
\fB\fIfile\fR \fR
.ad
.RS 9n
-.rt
A path name of an input file. If \fB\(mi\fR is specified for one or more of the
\fIfile\fRs, the standard input will be used. The standard input will be read
one line at a time, circularly, for each instance of \fB\(mi\fR\&.
@@ -213,23 +199,19 @@ that affect the execution of \fBpaste\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
Successful completion.
.RE
.sp
.ne 2
-.mk
.na
\fB\fB>0\fR \fR
.ad
.RS 7n
-.rt
An error occurred.
.RE
@@ -241,15 +223,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
@@ -260,45 +241,37 @@ Interface StabilityStandard
.SH DIAGNOSTICS
.sp
.ne 2
-.mk
.na
\fB\fB"line too long"\fR\fR
.ad
.RS 22n
-.rt
Output lines are restricted to 511 characters.
.RE
.sp
.ne 2
-.mk
.na
\fB\fB"too many files"\fR\fR
.ad
.RS 22n
-.rt
Except for \fB-s\fR option, no more than 12 input files may be specified.
.RE
.sp
.ne 2
-.mk
.na
\fB\fB"no delimiters"\fR\fR
.ad
.RS 22n
-.rt
The \fB-d\fR option was specified with an empty list.
.RE
.sp
.ne 2
-.mk
.na
\fB\fB"cannot open \fR\fBfile\fR\fB"\fR\fR
.ad
.RS 22n
-.rt
The specified file cannot be opened.
.RE