From: Dan White Date: Thu, 12 Dec 2013 21:08:34 +0000 (-0600) Subject: filter redundant entries X-Git-Url: http://git.whiteaudio.com/gitweb/?a=commitdiff_plain;h=e4886daadb933edb6d15b807b0b08e6cd217adf5;p=pubbin.git filter redundant entries --- diff --git a/cleanup-timesamples b/cleanup-timesamples index 7bf95c1..e8e823b 100755 --- a/cleanup-timesamples +++ b/cleanup-timesamples @@ -12,7 +12,7 @@ fi TMPFILE=$(tempfile) for f in $(ls -1 $HOME/.timeSampler.*); do - grep -v "null$" $f | sort > $TMPFILE + grep -v "null$" $f | sort -u > $TMPFILE cp $TMPFILE $f done