diff options
Diffstat (limited to 'usr/src/man/man1/print.1')
-rw-r--r-- | usr/src/man/man1/print.1 | 50 |
1 files changed, 1 insertions, 49 deletions
diff --git a/usr/src/man/man1/print.1 b/usr/src/man/man1/print.1 index 294fce44b4..3aefc897c8 100644 --- a/usr/src/man/man1/print.1 +++ b/usr/src/man/man1/print.1 @@ -5,7 +5,7 @@ .\" 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 print 1 "27 Mar 2008" "SunOS 5.11" "User Commands" +.TH PRINT 1 "Mar 27, 2008" .SH NAME print \- shell built-in function to output characters to the screen or window .SH SYNOPSIS @@ -40,112 +40,92 @@ Unless, the \fB-r\fR, \fB-R\fR, or \fB-f\fR option is speciifed, each \fB\e\fR character in each string operand is processed specially as follows: .sp .ne 2 -.mk .na \fB\fB\ea\fR\fR .ad .RS 8n -.rt Alert character. .RE .sp .ne 2 -.mk .na \fB\fB\eb\fR\fR .ad .RS 8n -.rt Backspace character. .RE .sp .ne 2 -.mk .na \fB\fB\ec\fR\fR .ad .RS 8n -.rt Terminate output without appending NEWLINE. The remaining string operands are ignored. .RE .sp .ne 2 -.mk .na \fB\fB\eE\fR\fR .ad .RS 8n -.rt Escape character (\fBASCII\fR octal \fB033\fR). .RE .sp .ne 2 -.mk .na \fB\fB\ef\fR\fR .ad .RS 8n -.rt FORM FEED character. .RE .sp .ne 2 -.mk .na \fB\fB\en\fR\fR .ad .RS 8n -.rt NEWLINE character. .RE .sp .ne 2 -.mk .na \fB\fB\et\fR\fR .ad .RS 8n -.rt Tab character. .RE .sp .ne 2 -.mk .na \fB\fB\ev\fR\fR .ad .RS 8n -.rt Vertical tab character. .RE .sp .ne 2 -.mk .na \fB\fB\e\e\fR\fR .ad .RS 8n -.rt Backslash character. .RE .sp .ne 2 -.mk .na \fB\fB\e0\fR\fIx\fR\fR .ad .RS 8n -.rt The 8-bit character whose \fBASCII\fR code is the \fB1\fR-, \fB2\fR-, or \fB3\fR-digit octal number \fIx\fR. .RE @@ -157,59 +137,49 @@ The 8-bit character whose \fBASCII\fR code is the \fB1\fR-, \fB2\fR-, or The following options are supported by \fBksh\fR: .sp .ne 2 -.mk .na \fB\fB-n\fR\fR .ad .RS 12n -.rt Suppresses \fBnew-line\fR from being added to the output. .RE .sp .ne 2 -.mk .na \fB\fB-r\fR\fB-R\fR\fR .ad .RS 12n -.rt Raw mode. Ignore the escape conventions of \fBecho\fR. The \fB-R\fR option prints all subsequent arguments and options other than \fB-n\fR. .RE .sp .ne 2 -.mk .na \fB\fB-p\fR\fR .ad .RS 12n -.rt Cause the arguments to be written onto the pipe of the process spawned with \fB|&\fR instead of standard output. .RE .sp .ne 2 -.mk .na \fB\fB-s\fR\fR .ad .RS 12n -.rt Cause the arguments to be written onto the history file instead of standard output. .RE .sp .ne 2 -.mk .na \fB\fB-u\fR [ \fIn\fR ]\fR .ad .RS 12n -.rt Specify a one digit file descriptor unit number \fIn\fR on which the output is placed. The default is 1. .RE @@ -220,12 +190,10 @@ placed. The default is 1. The following options are supported by \fBksh93\fR: .sp .ne 2 -.mk .na \fB\fB-e\fR \fI\fR\fR .ad .RS 13n -.rt Unless \fB-f\fR is specified, process \fB\e\fR sequences in each string operand as described above. This is the default behavior. .sp @@ -235,12 +203,10 @@ that is used. .sp .ne 2 -.mk .na \fB\fB-f\fR \fIformat\fR\fR .ad .RS 13n -.rt Write the string arguments using the format string \fIformat\fR and do not append a NEWLINE. See \fBprintf\fR(1) for details on how to specify format. .sp @@ -252,29 +218,24 @@ the first unneeded format specifier. .sp .ne 2 -.mk .na \fB\fB-n\fR\fR .ad .RS 13n -.rt Do not append a NEWLINE character to the output. .RE .sp .ne 2 -.mk .na \fB\fB-p\fR\fR .ad .RS 13n -.rt Write to the current co-process instead of standard output. .RE .sp .ne 2 -.mk .na \fB\fB-r\fR\fR .ad @@ -283,7 +244,6 @@ Write to the current co-process instead of standard output. \fB\fB-R\fR\fR .ad .RS 13n -.rt Do not process \fB\e\fR sequences in each string operand as described above. .sp If both \fB-e\fR and \fB-r\fR are specified, the last one specified is the one @@ -292,24 +252,20 @@ that is used. .sp .ne 2 -.mk .na \fB\fB-s\fR\fR .ad .RS 13n -.rt Write the output as an entry in the shell history file instead of standard output. .RE .sp .ne 2 -.mk .na \fB\fB-u\fR \fIfd\fR\fR .ad .RS 13n -.rt Write to file descriptor number \fIfd\fR instead of standard output. The default value is \fB1\fR. .RE @@ -320,23 +276,19 @@ default value is \fB1\fR. The following exit values are returned: .sp .ne 2 -.mk .na \fB\fB0\fR\fR .ad .RS 6n -.rt Successful completion. .RE .sp .ne 2 -.mk .na \fB\fB>0\fR\fR .ad .RS 6n -.rt Output file is not open for writing. .RE |