Unix‎ > ‎Solaris‎ > ‎Solaris man pages‎ > ‎1‎ > ‎

print


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

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


DESCRIPTION
  ksh
     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).

OPTIONS
     The following options are supported:

     -n          Suppress a NEWLINE from being added to the  out-
                 put.


     -p          Cause the arguments to be written onto the  pipe
                 of  the process spawned with |& instead of stan-
                 dard output.


     -r          Raw mode. Ignore the escape conventions of echo.
     -R          The  -R  option  prints all subsequent arguments
                 and options other than -n.


     -s          Cause the arguments to be written onto the  his-
                 tory 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.


EXIT STATUS
     The following exit values are returned:

     0     Successful completion.


     >0    Output file is not open for writing.



ATTRIBUTES
     See attributes(5) for descriptions of the  following  attri-
     butes:



     ____________________________________________________________
    |       ATTRIBUTE TYPE        |       ATTRIBUTE VALUE       |
    |_____________________________|_____________________________|
    | Availability                | SUNWcsu                     |
    |_____________________________|_____________________________|


SEE ALSO
     echo(1), ksh(1), attributes(5)










Man pages from Solaris 10 Update 8. See docs.sun.com and www.oracle.com for further documentation and Solaris information.
Comments