lesspipe.sh is an input filter for the pager less
as described in less's man page. The script runs
under a ksh-compatible shell (e.g. bash, zsh) and
allows you to use less to view files with binary
content, compressed files, archives, and files
contained in archives. Viewing files by accessing
a device file is implemented to some extent. It supports many formats (both as plain and compressed files using gzip, bzip2, and other pack programs). Syntax highlighting of source code is possible through an included script, "code2color", or an external program (pygmentize).