dotfiles/home/.local/bin/styletest

12 lines
539 B
Bash
Executable file

#!/bin/sh
rst="$(tput sgr0)"
printf '%s\n' "$(tput bold)This text has the bold attribute.${rst}"
printf '%s\n' "$(tput dim)This text has the dim attribute.${rst}"
printf '%s\n' "$(tput smso)This text has the standout (smso) attribute.${rst}"
printf '%s\n' "$(tput smul)This text has the underline (smul) attribute.${rst}"
printf '%s\n' "$(tput blink)This text has the blink attribute.${rst}"
printf '%s\n' "$(tput rev)This text has the reverse attribute.${rst}"
printf '%s\n' "$(tput invis)This text has the invisible attribute.${rst}"