diff options
author | smsd <smsd@bratchcpqserver.(none)> | 2014-08-27 20:20:28 +0100 |
---|---|---|
committer | smsd <smsd@bratchcpqserver.(none)> | 2014-08-27 20:20:28 +0100 |
commit | 92249640ff0bbd30605cc69a7d6f742d726d8732 (patch) | |
tree | 5b4f118eee3598401ed99ed05c6c83922b577492 |
-rwxr-xr-x | friday.bash | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/friday.bash b/friday.bash new file mode 100755 index 0000000..33fa8d2 --- /dev/null +++ b/friday.bash @@ -0,0 +1,13 @@ +#!/bin/bash + +friday=`date -d Fri +%s` +now=`date +%s` + +if [ $friday -gt $now ] +then + friday="It isn't Friday :(" +else + friday="It's Friday!" +fi + +echo $friday |