next up previous contents index
Next: Semicolon Termination Up: The WRspice Shell Previous: Back-Quoting, Command Evaluation   Contents   Index


I/O Redirection

The input to or output from commands may be changed from the terminal to a file by including IO redirection on the command line. The possible redirections are:

> file
Send the output of the command into the file. The file is created if it doesn't exist.

» file
Append output to the file. The file is created if it doesn't exist.

>& file
Send both the output and the error messages to the file. The file is created if it doesn't exist.

»& file
Append both the output and the error messages to the file. The file is created if it doesn't exist.

< file
Read input from the file.

Both an input redirection and an output redirection may be present on a command line. No more than one of each may be present, however. IO redirections must be at the end of the command line.


next up previous contents index
Next: Semicolon Termination Up: The WRspice Shell Previous: Back-Quoting, Command Evaluation   Contents   Index
Stephen R. Whiteley 2024-10-26