Download RLE-TR-588-319047

Transcript
diary
diary
Purpose:
Record the session in a file.
Synopsis:
diary [on / off
[filename ]
Description:
The diary command saves the entire SIMLAB session (in ascii format) in file filename.
If no "filename" argument is specified, the session is saved (in ascii format) in the file
"diary.doc." The argument off will temporarily suspend diary operation until diary
on is issued.
The diary command will also save output generated by programs run with escapes
to the shell.
Diagnostics:
Diary uses tee to capture output produced by programs run in an inferior shell. Some
programs (in particular, s) have a different format when directing output to a pipe
instead of to the standard output.
35