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).
Release Notes: This release protects against errors when calling iconv.
Release Notes: Minor bugfixes in configure and color support.
Release Notes: New ENV variables LESSQUIET (to suppress informal messages) and LESSCOLORIZER (to specify an alternate syntax highlighting program) have been introduced. The variable DESTDIR has been added to the Makefile (for make install). The lesspipe.sh in the tar file was generated with syntax highlighting code. The output of tar tf can be colorized using the included tarcolor script. The contents of 7za archives can now be viewed using 7zr if existing. The recognition of formats has been enhanced, the test suite has been improved, and some minor bugs have been corrected.
Release Notes: Files ending in .xml will no longer be (incorrectly) interpreted as HTML files. Proper options for the file command are now chosen at runtime to guess the character
encoding of files. This is used to optionally display recoded file contents. When syntax highlighting is used within lesspipe.sh, colored ls output now works on more OS flavours. A sample wrapper function for less is provided to allow directly opening URLs by simply calling 'less
Release Notes: This release checks for an appropriate shell at runtime. The configure script was modified to do better checks for good 'tar' and 'file' commands. The amount of filtering in lesspipe.sh can be controlled if support for the ENV variable LESS_ADVANCED_PREPROCESSOR was included at configure time. The handling of that variable has been changed from the previous version. Several tests were changed to better detect compressed files. The documentation has been updated.