1957 shaares
The Best Linux Blog In the Unixverse sur Twitter :
"Did you know? Man pages on Linux and Unix-like systems such as macOS/*BSD don't have to be dull black and white.
You can get colorful output in the console when using the man command:
export MANPAGER="less -R --use-color -Dd+r -Du+b"
man bash
See https://bash.cyberciti.biz/guide/Man_command#Color_output_in_the_console for info
https://t.co/quDO8EdtNd" / Twitter
Il faut less version 590
Ou avec most:
export MANPAGER='most -s'
man bash
ou bien
man -P most bash
Voir la suite du fil pour utiliser vim, batcat, ...
man -P "sh -c 'col -b | vim -c \"set ft=man nomod nolist\" -'" bash
man -P "sh -c 'col -bx | bat -l man -p'" bash