Convenience tweaks plus 79 chars line limit

This commit is contained in:
2018-07-29 19:26:43 +02:00
parent d61ccc6982
commit 8be1791f6d
4 changed files with 39 additions and 2 deletions

30
colorcube.sh Executable file
View File

@@ -0,0 +1,30 @@
for i in {0..1}
do
for k in {0..7}
do
tput setab $(($i * 8 + $k))
echo -n ' '
done
tput sgr0
echo ''
done
for i in {0..35}
do
for k in {0..5}
do
tput setab $((16 + $i * 6 + $k))
echo -n ' '
done
tput sgr0
echo ''
done
for i in {232..255}
do
tput setab $i
echo -n ' '
done
tput sgr0
echo ''