Linux Today: Linux News On Internet Time.

More on LinuxToday

Release Digest: GNU, April 25, 2004

Apr 26, 2004, 05:00 (0 Talkback[s])

WEBINAR: On-Demand

No-Size-Fits-All! An Application-Down Approach for Your Cloud Transformation REGISTER >

GNU Source-highlight 1.9

GNU Source-highlight 1.9 has been released. It is available from and mirrors of that site (see list of mirror sites at

GNU Source-highlight, given a source file, produces a document with syntax highlighting.

At the moment this package can handle

  • Java
  • Javascript
  • C/C++
  • Prolog
  • Perl
  • Php3
  • Python
  • Flex
  • ChangeLog
  • Ruby
  • Lua new
  • Caml new
  • Sml new

as source languages, and

ANSI color escape sequences (new)

as output format.

Version 1.9

  • --no-doc option added to cancel the --doc option even if it is implied (e.g., when css is given) (as suggested by Keith Lea and Grant McLean)
  • deal with r correctly (reported by
  • added scanner for language LUA (thanks to Marc Côté)
  • added scanner for CAML and SML (with the help of Jean-Baptiste Rouquier

    and James Riely)

  • fixed a bug in C++ scanner concerning tabs after # (reported by Don Stauffer).
  • If not specified, the source language will be guessed from the input file extension.
  • Added a script that can be used with less in order to higlight the files processed with less (suggested by Konstantine Serebriany)
  • fixed a bug in perl scanning when " is used in regular expressions (reported by Geir Nilsen)
  • html attribute values are generated in quotes (bug fixed by Patrick Wagstrom)
  • can generate anchors for line numbers (thanks to Oliver Fischer)

Visit the Source-highlight home page at

Anonymous CVS access is also available. Please visit where you can find detailed descriptions of how to access the CVS (read-only). Release-candidate versions are available through CVS.

Bug reports should go to

The following mailing lists are available:

if you want to subscribe to a mailing list just go to the URL and follow the instructions, or send me an e-mail and I'll subscribe you.