/cg

cg is a perl script to colorize gcc output; it's based on colorgcc

Primary LanguagePerl

cg.pl

based on colorgcc Version: 1.4.5

A wrapper to colorize the output from compilers whose messages
match the "gcc" format.

Requires the ANSIColor module from CPAN. 


Usage:
    cat log | cg.pl
    cg.pl log 
    cg.pl log |less -iR


The default settings can be overridden with ~/.colorgccrc.
See the comments in the sample .colorgccrc for more information.

Note:

colorgcc will only emit color codes if:

   (1) the value of $TERM is not listed in the "nocolor" option.

Modified by Miroslav Franc <mfranc@suse.cz>
Original Author: Jamie Moyers <jmoyers@geeks.com>
Started: April 20, 1999
Licence: GNU Public License

Credits (alphabetically):

   Adam Nielsen <malvineous@shikadi.net>
   Adrian Likins <adrian@gimp.org> <adrian@redhat.com>
   Elias S. G. Carotti <ecarotti@athena.polito.it>
   James E. Flemer <jflemer@alum.rpi.edu>
   Johannes Schlüter <johannes@schlueters.de>
   Juan Batiz-Benet <jbenet@cs.stanford.edu>
   Rik Hemsley <rik@kde.org>
   Scott Harrington <seh4@ix.netcom.com>
   Steve Churchill <schurchi@ucsd.edu>
   Steven Honeyman <stevenhoneyman@users.noreply.github.com>
   Zuyi Hu <hzy068808@gmail.com>
   foobarrior <nikitamalyavin@gmail.com>
   olibre <olibre@Lmap.org>