scripts

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

colorbars-sm (544B)


      1 #!/bin/sh
      2 echo
      3 
      4 # mini smpte color bars
      5 for y in $(seq 0 6); do
      6   printf %s '      '
      7   for color in 7 3 12 14 5 9 4; do
      8     tput setab ${color}
      9     printf %s '    '
     10   done
     11   tput sgr0
     12   echo
     13 done
     14 
     15 for y in 0 1; do
     16   printf %s '      '
     17   for color in 2 0 5 0 6 0 7; do
     18     tput setab ${color}
     19     printf %s '    '
     20   done
     21   tput sgr0
     22   echo
     23 done
     24 
     25 for y in $(seq 0 2); do
     26   printf %s '      '
     27   for color in 4 4 4 4 4 7 7 7 7 7 6 6 6 6 6 0 0 0 0 0 0 0 0 0 0 0 0 0; do
     28     tput setab ${color}
     29     printf %s ' '
     30   done
     31   tput sgr0
     32   echo
     33 done
     34 
     35 echo