Files
  • main.sh
  • holidays.txt
main.sh
1
2
3
4
5
if grep -q `date +%F` ./holidays.txt ; then
    echo holidays
    exit 0
fi
echo hello
GNU bash, version 4.4.12(1)-release (x86_64-pc-linux-gnu)