output text in bold font using SED

hi I want to write a script, while using the SED editor, to output the text, in this case a variable, to the result file but highlighted it in bold, is it possible to do that? can you tell me how?

eg. in text.txt

sed '$ a\
'$variable'
     ' <text.txt >text2.txt

so it will add the variable after the last line in the text.txt file, but preferably in bold

Thanks
Robert

Try this:

sed '$ a\
  '$(tput bold)$variable$(tput sgr0)'
    ' <text.txt >text2.txt

Thanks for your reply.

Which program would you use to open the text file to see the effect? it seems if I open it in normal text editor like nedit or emacs you don't see any word formatting.