elenapan/bin/colorballs
elena 199af78429 dotfile overhaul, reorganized directories, updated almost everything, and only kept the most essential
Former-commit-id: 4295c806ec
Former-commit-id: c87f8e56cd2677dbb5a2a15e90f879a9fa1a1a6b
Former-commit-id: 1ad787023efcecb57853b9a5103dff461192e56d
Former-commit-id: 595bf6d1621414a7b6e7d8e9acb374ce52687596
2018-09-28 02:54:28 +03:00

24 lines
345 B
Bash
Executable file

#!/bin/bash
# Script that shows terminal colors
# -- elenapan @ github
f=3 b=4
for j in f b; do
for i in {0..7}; do
printf -v $j$i %b "\e[${!j}${i}m"
done
done
d=$'\e[1m'
t=$'\e[0m'
v=$'\e[7m'
# Symbol
s=
# s=
cat << EOF
$f0$s$d$s$t $f1$s$d$s$t $f2$s$d$s$t $f3$s$d$s$t
$f4$s$d$s$t $f5$s$d$s$t $f6$s$d$s$t $f7$s$d$s$t
EOF