aboutsummaryrefslogblamecommitdiff
path: root/man/man1/clog.1df
blob: d2bc46ac077b57191a24f4cc4bcbb98f5faf7ffd (plain) (tree)
1
2
3
4
5
6
7
8
9




                                                   
 
       
   
                                               
   
  







           

               


                                                                            
  
                                                                               
                                                                           
                                    

                               
.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>