From 46b82311f440d92be864eeeae199abc32a1ac694 Mon Sep 17 00:00:00 2001 From: mroik Date: Thu, 17 Dec 2020 08:57:15 +0100 Subject: [PATCH] Small change, 1 less write to file --- rssgen.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rssgen.sh b/rssgen.sh index b1041b7..3e681c2 100755 --- a/rssgen.sh +++ b/rssgen.sh @@ -8,15 +8,15 @@ else location="$location/rss.xml" fi -echo "" > $location { + echo "" echo "" echo "" echo "~$user on TTBP" echo "http://tilde.town/~$user/blog/" echo "$(date)" echo "$user's blog on tilde.town" -} >> $location +} > $location for x in $(ls /home/$user/.ttbp/entries) do