From 8668bbb375261f8530399a19f0e4a1bcac5137b8 Mon Sep 17 00:00:00 2001 From: gutmet Date: Wed, 22 Apr 2020 07:10:01 +0200 Subject: [PATCH] fakenews: linebreak before timestamp --- fakenews | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fakenews b/fakenews index a5d17bf..8b538c3 100755 --- a/fakenews +++ b/fakenews @@ -19,7 +19,7 @@ while read account; do curl -H 'User-Agent:' -s "https://twitter.com/$account" | tscrape | head -n $numberOfTweets | - awk -F '\t' '{$1 = strftime("%d-%m-%Y %H:%M:%S",$1); print "
" $6 "
" $4 " " $1 "
"}' | + awk -F '\t' '{$1 = strftime("%d-%m-%Y %H:%M:%S",$1); print "
" $6 "
" $4 "
" $1 "
"}' | sed 's/https:[^ ]*/&<\/a>/g' >> $outfile echo "" >> $outfile done < "$accountsfile"