diff --git a/03-happy.sh b/03-happy.sh index 485527d..77bd184 100644 --- a/03-happy.sh +++ b/03-happy.sh @@ -14,3 +14,22 @@ fi # exercise: write a script that prints whether today is # the weekend or not + HEAD +day=$(date +%a) +if [ "$day" = "Sat" ] || [ "$day" = "Sun" ]; then + echo "It's the weekend!" +else + echo "It's a weekday." +fi + +day=$(date +%A) # Full day name (Monday, Tuesday...) + +case $day in + Saturday|Sunday) + echo "Relax, it's the weekend" + ;; + *) + echo "It's $day — keep grinding!" + ;; +esac +parallel diff --git a/merged_branches.png b/merged_branches.png new file mode 100644 index 0000000..0f5a7f3 Binary files /dev/null and b/merged_branches.png differ diff --git a/two_branches.png b/two_branches.png new file mode 100644 index 0000000..9f4d682 Binary files /dev/null and b/two_branches.png differ