diff options
Diffstat (limited to '.local/bin/colorbars')
-rwxr-xr-x | .local/bin/colorbars | 48 |
1 files changed, 14 insertions, 34 deletions
diff --git a/.local/bin/colorbars b/.local/bin/colorbars index e8e0b9d..459e707 100755 --- a/.local/bin/colorbars +++ b/.local/bin/colorbars @@ -1,35 +1,15 @@ #!/bin/sh -echo - -# mini smpte color bars -for y in $(seq 0 6); 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 2); 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 +printf ' +[0m [47m [0m[43m [0m[46m [0m[42m [0m[45m [0m[41m [0m[44m [0m +[0m [47m [0m[43m [0m[46m [0m[42m [0m[45m [0m[41m [0m[44m [0m +[0m [47m [0m[43m [0m[46m [0m[42m [0m[45m [0m[41m [0m[44m [0m +[0m [47m [0m[43m [0m[46m [0m[42m [0m[45m [0m[41m [0m[44m [0m +[0m [47m [0m[43m [0m[46m [0m[42m [0m[45m [0m[41m [0m[44m [0m +[0m [47m [0m[43m [0m[46m [0m[42m [0m[45m [0m[41m [0m[44m [0m +[0m [47m [0m[43m [0m[46m [0m[42m [0m[45m [0m[41m [0m[44m [0m +[0m [44m [0m[40m [0m[45m [0m[40m [0m[44m [0m[40m [0m[47m [0m +[0m [44m [0m[40m [0m[45m [0m[40m [0m[44m [0m[40m [0m[47m [0m +[0m [44m [0m[47m [0m[45m [0m[40m [0m[40m [0m[40m [0m +[0m [44m [0m[47m [0m[45m [0m[40m [0m[40m [0m[40m [0m +[0m [44m [0m[47m [0m[45m [0m[40m [0m[40m [0m[40m [0m +' |