A redirection causes a UNIX file descriptor to be
redirected to a different file.
The following options are available:
The following variants are available for each redirection.
In each case ``<'' can be replaced by ``>'' or
the file is opened on descriptor 0, standard input, for reading only;
it must already exist
the file is opened on descriptor 1, standard output, for writing,
and is truncated; it is created if necessary
the file is opened on descriptor 1, standard output,
for append only; it is created if necessary
read from filename
read from filename on descriptor number
make new a duplicate of number
close descriptor number
for_info < $static_arg
displays the text from file
in a dialog box, and:
gti 'Enter name:' > name
saves the user's name in a file name.
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 26 May 2005