[NLUUG]   Welcome to ftp.vim.org,
Hosted by ftp.nluug.nl
Current directory: /ftp/os/Linux/distr/salix/i486/extra-15.0/source/development/source-highlight/
Contents of README:
GNU Source-highlight

This program, given a source file, produces a document with syntax
highlighting. It also provides a C++ highlight library.

Source-highlight reads source language specifications dynamically,
thus it can be easily extended (without recompiling the sources) for
handling new languages. It also reads output format specifications
dynamically, and thus it can be easily extended (without recompiling
the sources) for handling new output formats. The syntax for these
specifications is quite easy (take a look at the manual).

Source-highlight is a command line program, and it can also be used as
a CGI.

Notice that source-highlight can also be used as a formatter (i.e.,
without highlighting): you can, for instance, format a txt file in
HTML (and it will take care of translating special characters, such
as, <, >, &).

A common example:
  less /usr/src/linux/kernel/panic.c

to tune the less, add in your .bash_profile these lines:
  export LESSOPEN="| /usr/bin/src-hilite-lesspipe.sh %s"
  export LESS=' -R '

Icon  Name                                                          Last modified      Size  
[DIR] Parent Directory - [TXT] README 08-Jun-2022 23:25 1.0K [TXT] gcc11.patch 08-Jun-2022 23:25 1.1K [TXT] slack-desc 08-Jun-2022 23:25 1.0K [   ] source-highlight-3.1.9.tar.gz 08-Jun-2022 23:25 1.6M [TXT] source-highlight.SlackBuild 11-Mar-2022 06:34 2.5K [   ] source-highlight.info 08-Jun-2022 23:25 307

NLUUG - Open Systems. Open Standards
Become a member and get discounts on conferences and more, see the NLUUG website!