aboutsummaryrefslogtreecommitdiff
path: root/man/man1/clog.1df
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-01-15 12:24:02 +1300
committerTom Ryder <tom@sanctum.geek.nz>2018-01-15 12:24:02 +1300
commit4da77a00838beb51d6ccfc2a3352a76ddddd74cc (patch)
treef543172c845a42305ae4fc75744d9a7c09688f7d /man/man1/clog.1df
parentMerge branch 'feature/ax-safety' into develop (diff)
parentRefactor clog(1df), allow args and non-term stdin (diff)
downloaddotfiles-4da77a00838beb51d6ccfc2a3352a76ddddd74cc.tar.gz
dotfiles-4da77a00838beb51d6ccfc2a3352a76ddddd74cc.zip
Merge branch 'feature/bin-review' into develop
* feature/bin-review: Refactor clog(1df), allow args and non-term stdin Reimplement bl(1df) in Awk
Diffstat (limited to 'man/man1/clog.1df')
-rw-r--r--man/man1/clog.1df20
1 files changed, 15 insertions, 5 deletions
diff --git a/man/man1/clog.1df b/man/man1/clog.1df
index 43193076..f9300347 100644
--- a/man/man1/clog.1df
+++ b/man/man1/clog.1df
@@ -3,18 +3,28 @@
.B clog
\- record timestamped logs in a file
.SH SYNOPSIS
+$
.B clog
.br
-getting real tired of all this overengineering
+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, 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.
+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 rlwrap(1) is found, it will be used for the line editing. If not, just the
+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>