From 72c76d1782a94b6a13088da834158a4c8915cfde Mon Sep 17 00:00:00 2001 From: Nick Chambers Date: Tue, 14 Dec 2021 23:04:34 -0600 Subject: [PATCH] Make Holidays inclusive! --- bash/christmas | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bash/christmas b/bash/christmas index 1f4667e..08f6710 100755 --- a/bash/christmas +++ b/bash/christmas @@ -46,7 +46,7 @@ done tput setaf 1 tput bold tput cup "$lines" "$(( cur_col - 6 ))" -printf 'MERRY CHRISTMAS\n' +printf 'HAPPY HOLIDAYS\n' tput cup "$(( lines + 1 ))" "$(( cur_col - 10 ))" printf 'And lots of CODE in %d\n' "$new_year" @@ -65,8 +65,8 @@ while true; do tput bold tput cup "${line[$needle_pos]}" "${column[$needle_pos]}" printf '*' - unset line["$needle_pos"] - unset column["$needle_pos"] + unset "line[$needle_pos]" + unset "column[$needle_pos]" fi new_line=$(( RANDOM % 9 + 3 ))