Arbitrary Command Output Colourer

acoc is a regular-expression based colour formatter for programs that display output on the command-line. It works as a wrapper around the target program, executing it and capturing the stdout stream. Optionally, stderr can be redirected to stdout, so that it, too, can be manipulated. acoc then applies matching rules to patterns in the output and applies colours to those matches.

Tags Desktop Environment Theme Theme Resources fonts Console Fonts Systems Administration Text Processing Filters Utilities
Licenses GPL
Operating Systems OS Independent
Implementation Ruby

Tweet this project Short link

Rss Recent releases

  • Rrelease-mid
  •  26 Feb 2005 22:30
  • Rrelease-after

Changes: SIGPIPE is now caught while exiting.

  • Rrelease-mid
  •  31 Oct 2004 18:55
  • Rrelease-after

Changes: It is now possible to use regular expressions in program specs, such as [ps -.*(e.*f|f.*e)]. A bug was fixed where having /usr/acoc/bin in one's $PATH could cause acoc to be invoked multiple times.

  • Rrelease-mid
  •  23 Oct 2004 06:50
  • Rrelease-after

Changes: A user-definable config file may now be specified in $ACOCRC, and new coloring specs were added for netstat, nmap, and other commands.

  • Rrelease-mid
  •  05 Apr 2004 02:51
  • Rrelease-after

Changes: The handling of command line glob arguments that expand to strings containing single quotes was fixed. Previously, such expansions interacted poorly with /bin/sh and would result in a failure to run the given command. The ARGV array is now expanded to its constituent parts when passed to the colour method. A superfluous debugging statement was removed.

  • Rrelease-mid
  •  05 Feb 2004 01:01
  • Rrelease-after

Changes: This version catches SIGCHLD on all systems.

Rss Recent comments

Rcomment-before 08 Sep 2003 13:38 Rcomment-trans 24af7e75b4a84fffaab2a2613c10ff47_tiny zany Rcomment-after

Just another one?
Hi,

please give a brief overview how your programm compares to some of the other colorizers. E.g.
Generic Colouriser (http://freshmeat.net/projects/genericcolouriser/).

No-screenshot

Project Spotlight

taskwarrior

A command-line to do list manager.

793d96f1478ad77a3869e06f8c6e8d07_thumb

Project Spotlight

Yana 4 PHP Framework

A full scale PHP component framework including ready-to-use plugins.