Last active
November 23, 2017 07:19
-
-
Save paveljurca/a9db7cdd338710cd600e 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
#!/usr/bin/perl | |
use strict; | |
use warnings; | |
# http://stackoverflow.com/questions/30914955/a-perl-one-liner-into-a-bash-function | |
for (reverse 0..(shift)*60-1) {!system q!clear! and open(FIGLET,q!|figlet -f banner -c!) and printf FIGLET "%2d'%02d",$_/60,$_%60;sleep 1} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment