]>
Tony Duckles's Git Repositories (git.nynim.org) - dotfiles.git/blob - bin/colordump
   3 # Dump 256 ansi colors to the terminal. 
   5 printf "How each ANSI color is displayed on your terminal:\n\n" 
  11     newrow
=$(expr $i / 10) 
  12     test $newrow -ne $row && printf "\n" 
  14     printf "\e[%dm %03d \e[0m" $i $i 
  18 printf '\n\n     e.g., "\\e[41mTEXT\\e[0m" ' 
  19 printf "\e[41m(for TEXT like this)\e[0m\n"