SlackBuilds Repository

15.0 > Misc > grc (1.13)

grc (generic colouriser)

grc provides two programs: grc and grcat. The main one is grcat,
which acts as a filter, i.e. taking standard input, colourising it
and writing to standard output. grcat takes as a parameter the name of
configuration file.

One major use of grc is to colorize the output of commonly-used shell
commands. For this to work, grc has to set up the environment of your
shell when it starts up. How you do this depends on which shell you

bash, ksh, other POSIX-like shells
To enable this globally for all users:

chmod +x /etc/profile.d/

Or, you can enable it for just your user by adding this line to one of
your shell startup scripts (.profile, .bashrc, .kshrc, etc):

[ -e /etc/profile.d/ ] && . /etc/profile.d/

csh, tcsh
To enable this globally for all users:

chmod +x /etc/profile.d/grc.csh

Or, for one user, add to your .cshrc:

if ( -e /etc/profile.d/grc.csh ) then
source /etc/profile.d/grc.csh

Add this line to your ~/.zshrc:

[ -e /etc/grc.zsh ] && source /etc/grc.zsh

Add this line to your ~/.config/fish/

[ -e /etc/ ] && source /etc/

Maintained by: B. Watson
Keywords: bash,zsh,shell,terminal,colorizer,grc,
ChangeLog: grc


Source Downloads:
grc-1.13.tar.gz (9800a42aa081dd64dbaaf928bb5796fe)

Download SlackBuild:
grc.tar.gz.asc (FAQ)

(the SlackBuild does not include the source)

Individual Files:

Validated for Slackware 15.0

See our HOWTO for instructions on how to use the contents of this repository.

Access to the repository is available via:
ftp git cgit http rsync

© 2006-2024 Project. All rights reserved.
Slackware® is a registered trademark of Patrick Volkerding
Linux® is a registered trademark of Linus Torvalds