function underline() { [[ $# -lt 2 ]] && return 1 printf "\033[4m%${1}s\033[24m" $2 } function bold() { [[ $# -lt 2 ]] && return 1 printf "\033[1m%${1}s\033[22m" $2 } # vim: set et ts=4 sw=4: