[Go to CFHT Home Page] Man Pages
Back to Software Index  BORDER=0Manpage Top Level
    print(1) manual page Table of Contents

Name

print - shell built-in function to output characters to the screen or window

Synopsis

ksh

print [ -Rnprsu[n ] ] [ arg ... ]

Availability

SUNWcsu

Description

ksh

The shell output mechanism. With no flags or with flag - or --, the arguments are printed on standard output as described by echo(1) . The exit status is 0, unless the output file is not open for writing.
-n
suppresses new-line from being added to the output.
-R
-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.

See Also

echo(1) , ksh(1)


Table of Contents