From c2b936fb7edd5fb716a485c548af0b67fce0b966 Mon Sep 17 00:00:00 2001 From: Andrew Stowell Date: Fri, 1 Sep 2023 14:09:55 +0000 Subject: [PATCH] fix newline bug in all-crons script. --- all-crons.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/all-crons.sh b/all-crons.sh index 0e819fe..2600d3d 100755 --- a/all-crons.sh +++ b/all-crons.sh @@ -12,7 +12,8 @@ if [ -z "$FILENAME" ]; then FILENAME='crontasks.sh' fi -echo "#!/bin/bash\n" > "$FILENAME" +echo "#!/bin/bash" > "$FILENAME" +echo "" >> "$FILENAME" # list crontab, remove comments and empty lines, # expect cron time formatting to be the first 20 characters,