Created
July 12, 2016 14:04
-
-
Save pronto/9c2f82bfd52cc5a0a79bcc5442bd8a21 to your computer and use it in GitHub Desktop.
why zsh
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/env zsh | |
start=1 | |
start_2=FF | |
cnt=1 | |
while true; | |
do | |
s1=`echo $start | wc -m` | |
col=`echo $start | sed 's/.//3g'` | |
col="$col"m | |
echo -e "$cnt:\e[$col $start" | |
#echo -e "$cnt:\e[$col $start \3[0m" | |
echo '' | |
start=`echo $start | sha512sum` | |
(( cnt=$cnt+1)) | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment