#!/usr/bin/env bash

# shellcheck disable=SC2312

echo
printf '%b\n' "$(tput bold) reg  bld  und   tput-command-colors$(tput sgr0)"

for i in $(seq 1 7); do
  printf '%b\n' " $(tput setaf "${i}")Text$(tput sgr0) $(tput bold)$(tput setaf "${i}")Text$(tput sgr0) $(tput sgr 0 1)$(tput setaf "${i}")Text$(tput sgr0)  \$(tput setaf ${i})"
done

printf '%b\n' "$(tput bold) Bold"
printf '%b\n' "$(tput sgr 0 1) Underline"
printf '%b\n' "$(tput sgr0) Reset"
echo
