Man page of print
Section: User Commands (1)
Updated: 2 May 2008
Return to Main Contents
print - shell built-in function to output characters to the screen or window
print [-Rnprsu [n]] [arg]...
The shell output mechanism. When no options are specified, or when an option followed by ' a - is specified, or when just - is specified, the arguments are printed on standard output as described by echo(1).
The following options are supported:
Suppress a NEWLINE from being added to the output.
Cause the arguments to be written onto the pipe of the process spawned with |& instead of standard output.
Raw mode. Ignore the escape conventions of echo. The -R option prints all subsequent arguments and options other than -n.
Cause the arguments to be written onto the history file instead of standard output.
-u [ n ]
Specify a one digit file descriptor unit number n on which the output is placed. The default is 1.
The following exit values are returned:
Output file is not open for writing.
See attributes(5) for descriptions of the following attributes:
|ATTRIBUTE TYPE||ATTRIBUTE VALUE|
echo(1), ksh(1), attributes(5)
- EXIT STATUS
- SEE ALSO
This document was created by
using the manual pages.
Time: 02:39:29 GMT, October 02, 2010