You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#!/bin/sh
|
|
|
|
DATE=`date -d "June 3" +%j`
|
|
TODAY=`date +%j`
|
|
DAYS=$(($DATE - $TODAY))
|
|
|
|
case $DAYS in
|
|
0) echo "It's today! Merry Christmas!";;
|
|
[0-9]*) echo "$DAYS days remaining";;
|
|
-[0-9]*) echo "Oops, you missed it";;
|
|
esac
|