Skip to content

Instantly share code, notes, and snippets.

@monolar
Last active December 29, 2015 17:19

Revisions

  1. monolar renamed this gist Nov 29, 2013. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  2. monolar created this gist Nov 29, 2013.
    1 change: 1 addition & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    for code in $(seq -w 0 255); do for attr in 0 1 4 5 7; do printf "%s-%03s %bTest%b\n" "${attr}" "${code}" "\e[${attr};38;05;${code}m" "\e[m"; done; done | column -c $((COLUMNS*2))