8596a223
1 2 3 4 5 6 7
#!/bin/sh # Record a timestamped message to a logfile, defaulting to ~/.clog { date cat - printf '%s\n' -- } >>"${CLOG:-"$HOME"/.clog}"