NAME

acoc - arbitrary command output colourer

SYNOPSIS

acoc command [arg1 .. argN]
acoc -h|--help|-v|--version

DESCRIPTION

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 colour sets to those matches. If the $ACOC environment variable is set to 'none', acoc will not perform any colouring.

OPTIONS

-h or --help
Display usage information.
-v or --version
Display version information.

AUTHOR

Written by Ian Macdonald <ian@caliban.org>

COPYRIGHT

Copyright (C) 2013 Antti Haapala

Copyright (C) 2003-2004 Ian Macdonald

This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE.

FILES

ENVIRONMENT

$ACOCRC
If set, this specifies the location of an additional configuration file.

CONTRIBUTING

acoc is only as good as the configuration file that it uses. If you compose pattern-matching rules that you think would be useful to other people, please send them to me for inclusion in a subsequent release.

SEE ALSO

BUGS