Created
August 2, 2014 07:15
-
-
Save anonymous/1c8b4bbb08378dafd6f5 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
$ paste num <(cat num | xargs -I@ printf "%@s\n" " " | tr ' ' '*') | tr '\t' ' ' | sed -r 's/\*/* /g' | awk '{for(i=1;i<=80;i++){a[NR,i]=$i}}END{for(j=1;j<=20;j++){for(i=1;i<=NR;i++){printf "%2s", a[i,j]?a[i,j]:" "}print ""}}' | awk 'NF' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment