[Clfs-dev] Terminfo bug?

Joe Ciccone jciccone at gmail.com
Sun Aug 16 09:10:33 PDT 2009


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.




More information about the Clfs-dev mailing list