all repos — dotfiles @ da7509d71e5f81a121cc94d3fd615fb9d6ad2f6c

my *nix dotfiles

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