Gogh/test/test.sh

106 lines
4.1 KiB
Bash
Executable File

#!/usr/bin/env bash
color () {
printf '%s\n' "$(tput setaf 0 ) ███ *** AaBbCs --- ███ $(tput sgr0) ---> Color 01 'tput setaf 0'" # black
printf '%s\n' "$(tput setaf 1 ) ███ *** AaBbCs --- ███ $(tput sgr0) ---> Color 02 'tput setaf 1'" # red
printf '%s\n' "$(tput setaf 2 ) ███ *** AaBbCs --- ███ $(tput sgr0) ---> Color 03 'tput setaf 2'" # green
printf '%s\n' "$(tput setaf 3 ) ███ *** AaBbCs --- ███ $(tput sgr0) ---> Color 04 'tput setaf 3'" # yellow
printf '%s\n' "$(tput setaf 4 ) ███ *** AaBbCs --- ███ $(tput sgr0) ---> Color 05 'tput setaf 4'" # blue
printf '%s\n' "$(tput setaf 5 ) ███ *** AaBbCs --- ███ $(tput sgr0) ---> Color 06 'tput setaf 5'" # pruple
printf '%s\n' "$(tput setaf 6 ) ███ *** AaBbCs --- ███ $(tput sgr0) ---> Color 07 'tput setaf 6'" # cyan
printf '%s\n\n' "$(tput setaf 7 ) ███ *** AaBbCs --- ███ $(tput sgr0) ---> Color 08 'tput setaf 7'" # white
printf '%s\n' "$(tput setaf 8 ) ███ *** AaBbCs --- ███ $(tput sgr0) ---> Color 09 'tput setaf 8'" # bold black
printf '%s\n' "$(tput setaf 9 ) ███ *** AaBbCs --- ███ $(tput sgr0) ---> Color 10 'tput setaf 9'" # bold red
printf '%s\n' "$(tput setaf 10) ███ *** AaBbCs --- ███ $(tput sgr0) ---> Color 11 'tput setaf 10'" # bold green
printf '%s\n' "$(tput setaf 11) ███ *** AaBbCs --- ███ $(tput sgr0) ---> Color 12 'tput setaf 11'" # bold yellow
printf '%s\n' "$(tput setaf 12) ███ *** AaBbCs --- ███ $(tput sgr0) ---> Color 13 'tput setaf 12'" # bold blue
printf '%s\n' "$(tput setaf 13) ███ *** AaBbCs --- ███ $(tput sgr0) ---> Color 14 'tput setaf 13'" # bold purple
printf '%s\n' "$(tput setaf 14) ███ *** AaBbCs --- ███ $(tput sgr0) ---> Color 15 'tput setaf 14'" # bold cyan
printf '%s\n\n' "$(tput setaf 15) ███ *** AaBbCs --- ███ $(tput sgr0) ---> Color 16 'tput setaf 15'" # bold white
local color_str
for c in {0..15}; do
color_dot_str+="$(tput setaf $c)$(tput sgr0)"
[[ $c == 7 ]] && color_dot_str+=" "
done
printf '%s\n' "$color_str"
unset color_str
}
bash -c "$(wget -qO- "http://git.io/v3D44")"
color
bash -c "$(wget -qO- "https://git.io/v5mXj")"
color
bash -c "$(wget -qO- "http://git.io/v3D4d")"
color
bash -c "$(wget -qO- "https://git.io/v5mXA")"
color
bash -c "$(wget -qO- "http://git.io/v3D4N")"
color
bash -c "$(wget -qO- "http://git.io/v3D4o")"
color
bash -c "$(wget -qO- "http://git.io/v3D82")"
color
bash -c "$(wget -qO- "http://git.io/v3D8e")"
color
bash -c "$(wget -qO- "http://git.io/v3D8R")"
color
bash -c "$(wget -qO- "https://git.io/v5mXi")"
color
bash -c "$(wget -qO- "http://git.io/v3DB9")"
color
bash -c "$(wget -qO- "http://git.io/v3DBB")"
color
bash -c "$(wget -qO- "http://git.io/v3DBe")"
color
bash -c "$(wget -qO- "http://git.io/v3DBF")"
color
bash -c "$(wget -qO- "http://git.io/v3DBK")"
color
bash -c "$(wget -qO- "http://git.io/v3DBM")"
color
bash -c "$(wget -qO- "https://git.io/v5mPp")"
color
bash -c "$(wget -qO- "http://git.io/v3DBP")"
color
bash -c "$(wget -qO- "http://git.io/v5f6B")"
color
bash -c "$(wget -qO- "http://git.io/v3DBT")"
color
bash -c "$(wget -qO- "http://git.io/v3DBv")"
color
bash -c "$(wget -qO- "http://git.io/v3DBV")"
color
bash -c "$(wget -qO- "https://git.io/vQ9TY")"
color
bash -c "$(wget -qO- "http://git.io/v3Dlb")"
color
bash -c "$(wget -qO- "http://git.io/v3Dlb")"
color
bash -c "$(wget -qO- "http://git.io/v3Dli")"
color
bash -c "$(wget -qO- "http://git.io/v3Dll")"
color
bash -c "$(wget -qO- "http://git.io/v3Dlm")"
color
bash -c "$(wget -qO- "http://git.io/v3Dlr")"
color
bash -c "$(wget -qO- "http://git.io/v3Dlz")"
color
bash -c "$(wget -qO- "http://git.io/v3DR0")"
color
bash -c "$(wget -qO- "http://git.io/v3DRB")"
color
bash -c "$(wget -qO- "https://git.io/v5m1t")"
color
bash -c "$(wget -qO- "http://git.io/v3DRc")"
color
bash -c "$(wget -qO- "https://git.io/v5m1s")"
color
bash -c "$(wget -qO- "https://git.io/v5m1Y")"
color
bash -c "$(wget -qO- "http://git.io/v3DRs")"
color