Skip to content

Instantly share code, notes, and snippets.

@jo
Created December 13, 2012 10:32
Show Gist options
  • Save jo/4275585 to your computer and use it in GitHub Desktop.
Save jo/4275585 to your computer and use it in GitHub Desktop.
clear; while :; do echo $LINES $COLUMNS $(($RANDOM%$COLUMNS)); sleep 0.1; done | awk '{a[$3]=0; for(x in a) {o=a[x]; a[x]=a[x]+1; printf "\033[%s;%sH ",o,x; printf "\033[%s;%sH*\033[0;0H",a[x],x;}}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment