Created
October 10, 2015 14:31
-
-
Save particle4dev/6f723d828ecbedbcb016 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# <author mail="[email protected]" /> | |
quotes=( | |
[0]="Talk is cheap. Show me the code." | |
[1]="Software is like sex: it's better when it's free." | |
[2]="I’d like to be a nice person and curse less and encourage people to grow rather than telling them they are idiots. I’m sorry - I tried, it’s just not in me," | |
) | |
length=${#quotes[@]} | |
# get current minute | |
day=$(date +%M) | |
let "day = day % 3" | |
echo -e \"${quotes[day]}\" - Linus_Torvalds |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment