DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
The Form and Menu Language

File redirection

The input of a statement may be redirected from a file by using < file. Similarly, the output of a statement may be sent to a file by using > file, or by using >> file to append output to the end of a file.

The output from standard error may be redirected by using 2> file to send it to a file, or by using 2>> file to append it to the end of a file.

As in the UNIX shell, whitespace between > or < and file is optional.


Next topic: Syntax errors
Previous topic: Expression operators

© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 27 April 2004