in reply to Re: bold color text and export to file
in thread bold color text and export to file

What program(s) do you expect to view the exported text file in?

Colors applied with Term::ANSIColor will work with cat and less with the -R switch, but not normal text editors.