Roy Bekken wrote:
> In an bash script I have a line like this:
>
> _BR="$(tput bold 2> /dev/null)"
>
> This should return “\33[1m”. I can't get this to work, it always
> returns “-1\n” can anyone confirm this?
>
That is not the result I see,
_BR="$(tput bold 2> /dev/null)"
echo ${_BR}test
Does work, test is in bold.