diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2015-03-21 12:49:14 +0900 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2015-03-21 12:49:14 +0900 |
commit | 28189fdfd7a25f4235a057174827c82d7d3379bf (patch) | |
tree | 3f2a4d3fe63b002447f46cc59f77fced2103a048 /bin/logall | |
parent | c0dab3d11d17d61ff413d256119504c7972c6b1b (diff) | |
download | dotfiles-28189fdfd7a25f4235a057174827c82d7d3379bf.tar.gz |
logall should also print to stdout
Diffstat (limited to 'bin/logall')
-rwxr-xr-x | bin/logall | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -12,5 +12,5 @@ if [ "$1" = "" ]; then fi filename=$(date +$HOME/tmp/$1_%F_%H:%M:%S.txt) echo "running $@ at $(date +%F\ %H:%M:%S)\n" >> $filename -unbuffer $@ | ts 2>&1 >> $filename +unbuffer $@ | ts 2>&1 | tee -a $filename echo "" >> $filename |