Hi,
I have some very nicely formatted output on a monitor script and I'd like to make one of the fields bold when a threshold is reached but when I do it changes the formatting.
I've tried using tabs to separate the fields and I've tried using printf to force the size of the fields. Below is the printf version:
Whenever either of the variables are bold (using tput) the formatting goes - it's as though the forced width of 31 is ignored.
Is there another way to format my output? Is my printf statement wrong?
Many thanks,
pondlife.