print(1) User Commands print(1)
print - shell built-in function to output characters to the screen or
print [ -Rnprsu [n]] [arg...]
The shell output mechanism. With no flags or with flag - or -, the
arguments are printed on standard output as described by echo(1).
The following options are supported:
-n suppresses new-line from being added to the output.
-r (raw mode) ignore the escape conventions of echo. The
-R option will print all subsequent arguments and
options other than -n.
-p causes the arguments to be written onto the pipe of the
process spawned with |&& instead of standard output.
-s causes the arguments to be written onto the history
file instead of standard output.
-u [ n ] flag can be used to specify a one digit file descriptor
unit number n on which the output will be placed. The
default is 1.
The following exit values are returned:
0 Successful operation.
>>0 Output file is not open for writing.
See attributes(5) for descriptions of the following attributes:
tab() allbox; cw(2.750000i)| cw(2.750000i) lw(2.750000i)|
lw(2.750000i). ATTRIBUTE TYPEATTRIBUTE VALUE AvailabilitySUNWcsu
echo(1), ksh(1), attributes(5)
SunOS 5.10 15 Apr 1994 print(1)