Skip Navigation Links | |
Exit Print View | |
man pages section 1: User Commands Oracle Solaris 10 8/11 Information Library |
- shell built-in function to output characters to the screen or window
print [-Rnprsu [n]] [arg]...
The shell output mechanism. With no options or if the - option is specified, the arguments that follow are printed on standard output as described by echo(1). If the - option is specified, anything that follows it is processed as an argument, even if it begins with a -.
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.
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:
Successful completion.
Output file is not open for writing.
See attributes(5) for descriptions of the following attributes:
|