bash 印刷ドアの色

bash 印刷ドアの色

青で表示したい次のbash printステートメントがあります。

local -r sgr="$( tput sgr0 )"
local -r wht="$( tput bold; tput setaf 15 )"
local -r blu="$( tput bold; tput setaf 39 )"

printf ' \u2263  %-*s%*s  \u2263\n'  "$cl" "${1:0:cl}"  "$cr" "${2:0:cr}"

ベストアンサー1

おすすめ記事