Different Colors For Control Characters And Pattern Matches In less

This page answers questions like these:


Related Links:
Show Colors in less
Make less Keep Reading a Growing File
Ungetcc Overflow Error Coming From less



Get less to Show Control and Binary Characters in Different Colors From Search Matches:

Try each of the following to see which one you like best:

LESSBINFMT="*k<%02X>" less FILE
LESSBINFMT="*d<%02X>" less FILE
LESSBINFMT="*u<%02X>" less FILE

Once you decide which one you like, put one of these in your  .profile  or  .bashrc  file.

export LESSBINFMT="*k<%02X>"
export LESSBINFMT="*d<%02X>"
export LESSBINFMT="*u<%02X>"





Related Links:
Show Colors in less
Make less Keep Reading a Growing File
Ungetcc Overflow Error Coming From less

Home  >  Linux / Unix  >  Different Colors For Control Characters And Pattern Matches In less


Tags: less colors, less colours, control character, binary character, less, linux, unix, solaris, bsd, aix

Copyright © HelpDoco.com
less-control-character-colors.txt
Linux-Unix/change-control-character-colors-in-less.htm
2