ad89264442
The new horizontal utility utilizes the * token for centering. * Every field with the token %*s will autofill the remaining space. * Field tokens may be any valid format specifier, plus the asterisk. * > Example: printf "%*s %.*s %*d" "col1" "col2" "3.0" (notice asterisk) * > Example: printf "%*b %s" "\e[1;33mThis is red text\e[0m" "this is not" Use the new utilities to center the startup banner and other messages. |
||
---|---|---|
.. | ||
ap | ||
site | ||
ArrayUtils.sh | ||
FormatUtils.sh | ||
HashUtils.sh | ||
IOUtils.sh | ||
SandboxUtils.sh |