Projects / Daniels Colorize.pl

Daniels Colorize.pl

Colorize.pl is a short script that reads from stdin and writes to stdout. Rows that match a user's search strings will be colorized with user-defined colors. Command line options are available. Colorization is done via ANSI escape codes.

Tags
Operating Systems
Implementation

Recent releases

  •  11 Jan 2008 06:47

    Release Notes: Support was added for regular expressions for the partial colorization.

    •  24 May 2006 10:01

      Release Notes: A warning was removed.

      •  23 May 2006 00:43

        Release Notes: Allows no background colors. Support for choosing between colorizing whole rows or just the matching words.

        •  28 Apr 2006 17:51

          Release Notes: This release adds a quick colorization option. It only needs the option "-:searchstring" to colorize a row without the user needing to think of good matching color variations.

          •  26 Apr 2006 20:42

            No changes have been submitted for this release.

            Recent comments

            12 Feb 2013 15:44 eheurtel

            Hi,
            Had to add "local $| = 1;" so result is output immediately instead of being buffered, useful if colorize.pl is used in a pipe
            Thx for that tool

            24 May 2006 02:58 dflinkmann

            Re: other similar programs


            > You might want to check out csed and

            > colorize. The

            > former is a lot more feature-full, the

            > latter is the same kind of

            > program (driven by a config file rather

            > than options)

            csed and colorize are both really nice tool, however my idea behind colorize.pl is extremly easy usage, which I was missing from all tools I tried out.

            As you can see you just need to know that +:STRING or -:STRING is enough to use it. No need to read 20 minutes of documentation ;-)

            Cheers,

            Daniel

            23 May 2006 03:05 bwana147

            other similar programs
            You might want to check out csed and colorize. The
            former is a lot more feature-full, the latter is the same kind of
            program (driven by a config file rather than options)

            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.