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 "5#5filename6#6", the output file is restored to 5#5STDERR6#6. The 5#5filename6#6 "-" means 5#5STDOUT6#6. The append flag causes the file to be opened in append mode. A 5#5filename6#6 starting with "4#4" is opened as a pipe to the 5#5shell_command6#6 on platforms that support piping.


Ethan Merritt 2007-03-03