如何打印$myvar填充以使其位于终端的中心,并且任一侧都=位于屏幕的边缘?
$myvar
=
bash tput printf text-formatting
bash ×1
printf ×1
text-formatting ×1
tput ×1