puts -- write to a file
Writes the characters given by
to the file given by
must be the return value from a previous call to
, or it may be
to refer to one of the standard I/O channels; it must refer to a file that was opened for writing. If no
is specified then it defaults to
normally outputs a newline character after
, but this feature may be suppressed by specifying the
switch. Output to files is buffered internally by Tcl; the
command may be used to force buffered characters to be output.
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003