I'm trying to set up a script to run on a cron job to output a different message from Monday-Friday. Instead of echoing default messages like so, I'd like to be able to output a large list of random sentences or phrases from an array. Is there a better way to do this without making a mess?
Code:
#!/bin/bash
week_day=$(date +"%u")
case "$week_day" in
1 ) echo 'Wake up, now!' ;;
2 ) echo 'Dude, GTA V!' ;;
3 ) echo 'Hump-day!' ;;
4 ) echo 'Almost there...' ;;
5 ) echo 'Finally!!!' ;;
esac