next up previous contents index
Next: Object Up: Set-show Previous: Polar   Contents   Index


Print

The set print command redirects the output of the print command to a file.

Syntax:

     set print
     set print "-"
     set print "<filename>"
     set print "<filename>" append
     set print "|<shell_command>"

Without "4#4filename5#5", the output file is restored to 4#4STDERR5#5. The 4#4filename5#5 "-" means 4#4STDOUT5#5. The append flag causes the file to be opened in append mode. A 4#4filename5#5 starting with "3#3" is opened as a pipe to the 4#4shell_command5#5 on platforms that support piping.


Alex T Prengel 2007-03-13