Re: apt show escape characters
On Fri, Nov 07, 2025 at 08:37:31 -0600, Mike McClain wrote:
> Since installing trixie apt show ... is displaying 'ESC[1m', 'ESC[0m'
> and the like. What might be the difference in my bookworm install to
> the new trixie install that would cause that?
You've probably got the LESS variable set in your environment. I do
too. I get that too.
If I run
(unset LESS; apt show bash)
or
env -u LESS apt show bash
then the raw control characters are passed through directly to the
terminal as intended.
Reply to: