.TH print "" "" Command
.PC "Echo text onto the standard output"
\fBprint [\-enru\fIn\^\fB] [\fIargument ...\^\fB]\fR
.PP
.HS
.SH Options:
.IC \fB\-e\fR
Re-enable expansion of C escape sequences
.IC \fB\-n\fR
Don't print newline after list of arguments
.IC \fB\-r\fR
Suppress expansion of C escape sequences
.IC \fB\-u\fIn\fR
Redirect output file descriptor \fIn\fR
.Pp
\fBksh\fR only.
.HE
The command
.B print
is built into the Korn shell
.BR ksh .
It echoes each
.I argument
onto the standard output.
Arguments are separated from each other by whitespace, and the list of
arguments is terminated by a newline character.
.PP
.B print
recognizes and substitutes for the following C-style escape sequences:
.DS
.ta 1.0i 2.0i
	\eb	Backspace
	\ef	Formfeed
	\en	Newline
	\er	Carriage return
	\et	Tab
	\ev	Vertical tab
	\e0\fInnn	nnn\fP is the octal value of the desired character
.DE
.PP
.B print
recognizes the following options:
.RS
.IP \fB\-e\fR
Re-enable expansion of C escape sequences.
.IP \fB\-n\fR
Suppress printing of a newline at the end of the list of arguments.
.IP \fB\-r\fR
Suppress expansion of C escape sequences.
.IP \fB\-u\fIn\fR
Redirect output from the standard output to shell file descriptor
.IR n .
.SH "See Also"
.Xr "commands," commands
.Xr "echo," echo
.Xr "ksh" ksh
