Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/project-web/freshmeat/htdocs/index.php on line 250

Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/project-web/freshmeat/htdocs/index.php on line 250

Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/project-web/freshmeat/htdocs/index.php on line 358

Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/project-web/freshmeat/htdocs/index.php on line 358

Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/project-web/freshmeat/htdocs/index.php on line 385

Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/project-web/freshmeat/htdocs/index.php on line 385

Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/project-web/freshmeat/htdocs/index.php on line 385

Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/project-web/freshmeat/htdocs/index.php on line 385

Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/project-web/freshmeat/htdocs/index.php on line 385

Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/project-web/freshmeat/htdocs/index.php on line 385
colorize – Freecode
Projects / colorize

colorize

colorize reads text files or the standard input line by line. It tries to match each line against a set of configurable regular expressions, and if one of them matches, it renders the line in color by means of ANSI escape sequences.

Tags
Licenses
Operating Systems
Implementation

Recent releases

  •  19 Jul 2004 18:38

    No changes have been submitted for this release.

    Recent comments

    31 Jan 2006 01:21 opepin

    Win32 support
    Nice script, very usefull.

    Comment for windows users, you have to install the win32-console-ansi module to get it work.

    > ppm install win32-console-ansi

    20 Jul 2004 05:01 bwana147

    Re: Hi!

    Yes, I've seen it, and it is a great tool, and indeed more general. colorize, OTOH, is a lot simpler: its only aim is to colorize a line or not, depending on whether it matches a given regex or not. It is intended for those very simple cases, where you want all lines containing "ERROR" to stand out in red. Anything beyond that is better achieved with csed.


    And being written in Perl, it works on Windows with the help of a module that translates ANSI to whatever they use in Windows to colorize their terminal.

    20 Jul 2004 01:22 ievlev

    Hi!
    Hi!

    Have you seen a csed project?

    http://freshmeat.net/projects/csed/

    I think it's more general solution, 'cause use

    terminfo to colorize output to terminal (so it

    works not only on ansy terminals)

    Screenshot

    Project Spotlight

    OpenStack4j

    A Fluent OpenStack client API for Java.

    Screenshot

    Project Spotlight

    TurnKey TWiki Appliance

    A TWiki appliance that is easy to use and lightweight.