Changing formatting strings used by man
by jt1122 from LinuxQuestions.org on (#6JHB8)
Hi,
Code:LESS_TERMCAP_md=$'\e[1;38;5;82m' man -P "less" lswould show a coloured man page for ls.
As I understand man embeds the TERMCAP code into the text sent to less.
Can I change this TERMCAP code to some else, e.g. "ABC", which will be embedded in the resulting text?.
I tried
Code:LESS_TERMCAP_md=$'ABC' man -P "less" ls >odoesn't show ABC anywhere in the file o.
Thanks
Code:LESS_TERMCAP_md=$'\e[1;38;5;82m' man -P "less" lswould show a coloured man page for ls.
As I understand man embeds the TERMCAP code into the text sent to less.
Can I change this TERMCAP code to some else, e.g. "ABC", which will be embedded in the resulting text?.
I tried
Code:LESS_TERMCAP_md=$'ABC' man -P "less" ls >odoesn't show ABC anywhere in the file o.
Thanks