diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/clog | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/bin/clog b/bin/clog new file mode 100755 index 00000000..d52ab4c5 --- /dev/null +++ b/bin/clog @@ -0,0 +1,7 @@ +#!/bin/sh +# Record a timestamped message to a logfile, defaulting to ~/.clog +{ + date + cat - + printf '%s\n' -- +} >>"${CLOG:-"$HOME"/.clog}" |