diff options
author | xero <x@xero.nu> | 2016-04-30 22:59:36 -0400 |
---|---|---|
committer | xero <x@xero.nu> | 2016-04-30 23:01:30 -0400 |
commit | 932c08d8da40de082eedc68b3f4f874f02ca697e (patch) | |
tree | 84bed0f9edb83ea3ce2fe21a0ea5923a3b3b354a /fun/bin | |
parent | 01a9eb330143817d291a2f67e4879da5dd9167dc (diff) | |
parent | 07e0415a35f1033b5c18835974961d88505843cd (diff) | |
download | dotfiles_ascii-932c08d8da40de082eedc68b3f4f874f02ca697e.tar.xz dotfiles_ascii-932c08d8da40de082eedc68b3f4f874f02ca697e.zip |
merge commit added from github ui
Diffstat (limited to '')
-rw-r--r-- | fun/bin/colorbars | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/fun/bin/colorbars b/fun/bin/colorbars new file mode 100644 index 0000000..4e3b8f7 --- /dev/null +++ b/fun/bin/colorbars @@ -0,0 +1,38 @@ +#!/bin/sh +# +# colorbars - smpte color bars in sh +# http://git.io/colorbars + +echo + +for y in $(seq 0 13); do + printf %s ' ' + for color in 7 3 6 2 5 1 4; do + tput setab ${color} + printf %s ' ' + done + tput sgr0 + echo +done + +for y in 0 1; do + printf %s ' ' + for color in 4 0 5 0 6 0 7; do + tput setab ${color} + printf %s ' ' + done + tput sgr0 + echo +done + +for y in $(seq 0 4); do + printf %s ' ' + for color in 4 4 4 4 4 7 7 7 7 7 5 5 5 5 5 0 0 0 0 0 0 0 0 0 0 0 0 0; do + tput setab ${color} + printf %s ' ' + done + tput sgr0 + echo +done + +echo |