scripts

custom scripts and utils
git clone git://git.pyratebeard.net/scripts.git
Log | Files | Refs | README

colorbars (610B)


      1 #!/bin/sh
      2 #
      3 # colorbars - smpte color bars in sh
      4 # http://git.io/colorbars 
      5 
      6 echo
      7 
      8 for y in $(seq 0 13); do
      9   printf %s '           '
     10   for color in 7 3 6 2 5 1 4; do
     11     tput setab ${color}
     12     printf %s '        '
     13   done
     14   tput sgr0
     15   echo
     16 done
     17 
     18 for y in 0 1; do
     19   printf %s '           '
     20   for color in 4 0 5 0 6 0 7; do
     21     tput setab ${color}
     22     printf %s '        '
     23   done
     24   tput sgr0
     25   echo
     26 done
     27 
     28 for y in $(seq 0 4); do
     29   printf %s '           '
     30   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
     31     tput setab ${color}
     32     printf %s '  '
     33   done
     34   tput sgr0
     35   echo
     36 done
     37 
     38 echo