Created
May 29, 2013 06:15
-
-
Save ekimekim/5668290 to your computer and use it in GitHub Desktop.
Uses banner(1) to display the current time as a crude terminal clock.
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 | |
USAGE="$0 [FORMAT]" | |
FORMAT="${1:-%T}" | |
while sleep 1; do | |
clear | |
echo | |
banner "`date "+$FORMAT"`" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment