File: c_log.so

package info (click to toggle)
lookup 1.08b-5
  • links: PTS
  • area: contrib
  • in suites: woody
  • size: 1,108 kB
  • ctags: 1,305
  • sloc: ansic: 12,634; makefile: 236; perl: 174; sh: 53
file content (23 lines) | stat: -rw-r--r-- 470 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
.TP
log [ to [+] \fIfile\fP ]
.br
Begins logging the program output to
.I file
(the Japanese encoding method being the same as for screen output).
If\c
.Q +
is given, the log is appended to any text that might have
previously been in
.IR file ,
in which case a leading dashed line is inserted into the file.

If no arguments are given, reports the current logging status.
.TP
log  - | off
If only\c
.Q -
or
.I off
is given, any currently-opened log file is closed.
.TP