all repos — dotfiles @ d7b391845abc7e97f2b1b96c34b4b1789b2ab541

my *nix dotfiles

home/bin/log (view raw)

1#!/bin/sh
2# life log
3
4date="$(date "+%Y-%m-%d %H:%M:%S")"
5l="$(cat)"
6[ "$l" = "" ] && exit
7printf '%s\t%s\n' "$date" "$l" >> ~/log