]> git.armaanb.net Git - bin.git/blobdiff - tweet-grab
cleanup, add 2 more scripts
[bin.git] / tweet-grab
index 8e94dc8daaf50f10058c2a26367f96f9bf6c42ee..fa6faefb37f2e00eb18f2695458d726f765c6dcb 100755 (executable)
@@ -3,5 +3,5 @@ FILE=/root/tweets/index.html
 LOGFILE=/root/tweets/cron.log
 > $FILE
 curl https://nitter.net/keshinko | grep tweet-content | head -n 1 | sed -e 's/<[^>]*>//g' -e 's/^[ \t]*\(.*$\)/\1/' >> $FILE
-echo "$(tail -n 1000 $LOGFILE)" > $LOGFILE
+tail -n 1000 $LOGFILE > $LOGFILE
 date -R >> $LOGFILE