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|
|Operating Systems||OS Independent|
Release Notes: SIGPIPE is now caught while exiting.
Release Notes: 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.
Release Notes: A user-definable config file may now be specified in $ACOCRC, and new coloring specs were added for netstat, nmap, and other commands.
Release Notes: 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.
Release Notes: This version catches SIGCHLD on all systems.