diff options
author | jluehrs2 <jluehrs2@uiuc.edu> | 2007-09-09 17:41:22 -0500 |
---|---|---|
committer | jluehrs2 <jluehrs2@uiuc.edu> | 2007-09-09 17:41:22 -0500 |
commit | a15446b3fd41656efa0677b8f10a9be4ad8b74fd (patch) | |
tree | 0b303c85546ea4b8db749a9bb7bbb196fb3cb9f2 /bin/colors.sh | |
parent | 575acc6740d468197537dbb20ff53c93da54e50b (diff) | |
download | conf-a15446b3fd41656efa0677b8f10a9be4ad8b74fd.tar.gz conf-a15446b3fd41656efa0677b8f10a9be4ad8b74fd.zip |
add my bin directory
Diffstat (limited to 'bin/colors.sh')
-rw-r--r-- | bin/colors.sh | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/bin/colors.sh b/bin/colors.sh new file mode 100644 index 0000000..136ad98 --- /dev/null +++ b/bin/colors.sh @@ -0,0 +1,17 @@ +#!/bin/sh +############################################################ +# Nico Golde <nico(at)ngolde.de> Homepage: http://www.ngolde.de +# Last change: Mon Feb 16 16:24:41 CET 2004 +############################################################ + +for attr in 0 1 4 5 7 ; do + echo "----------------------------------------------------------------" + printf "ESC[%s;Foreground;Background - \n" $attr + for fore in 30 31 32 33 34 35 36 37; do + for back in 40 41 42 43 44 45 46 47; do + printf '\033[%s;%s;%sm %02s;%02s ' $attr $fore $back $fore $back + done + printf '\n' + done + printf '\033[0m' +done |