aboutsummaryrefslogtreecommitdiff
path: root/man/man1/clog.1df
blob: f9300347aeb317bdf2de8c5c2e5003b7827d9bab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
.TH CLOG 1df "December 2016" "Manual page for clog"
.SH NAME
.B clog
\- record timestamped logs in a file
.SH SYNOPSIS
$
.B clog
.br
Getting real tired of all this overengineering.
.br
^D
.br
$
.B clog
file1 file2
.br
$
command |
.B clog
.SH DESCRIPTION
.B clog
receives a message on stdin or from the file arguments, timestamps it with a
leading date(1), and writes it to the file with path in environment variable
CLOG, defaulting to ~/.clog, terminating each entry with two hyphens.
.P
If there are no files to read and standard input is coming from a terminal, and
rlwrap(1) is found, it will be used for the line editing. If not, just the
terminal's cooked mode will be used.
.SH AUTHOR
Tom Ryder <tom@sanctum.geek.nz>