GRC(1)
π GRC β the girlies' guide to the generic colouriser frontend π
okay so bestie, welcome to GRC(1), a General Commands Manual page, section 1, and honestly? she's iconic. grc is a frontend for the generic colouriser grcat(1), and she's about to make your terminal output look so much cuter. no cap. β¨
πΈ NAME πΈ
grc β frontend for generic colouriser grcat(1)
like... she's the pretty face, grcat is the brains. they're a duo. a power couple. π«Ά
β¨ SYNOPSIS β¨
grc [options] command [args]
that's it. that's the whole vibe. options, then a command, then whatever args you wanna hand her. π
π DESCRIPTION π
so here's the tea, bestie: grc will execute command with its optional parameters [args], and she pipes that command's stdout or stderr into grcat, using the appropriate configuration file. it's giving glow-up, but for text. π₯
now, which configuration file does she use? that's decided by the /etc/grc.conf file. periodt.
the format of /etc/grc.conf goes like this: each entry is made up of 2 lines, and between entries you can have literally any number of empty lines, or lines that begin with # (those are comments, bestie, they're just for you π).
- First line β a regular expression.
- Second line β the name of the configuration file for
grcat.
and here's the main character moment: the configuration file from the first regular expression that matches command [args] is the one that gets passed to grcat as its configuration file. first match wins, no take-backs. π
π OPTIONS π
--helpβ shows you a summary of the options. your little cheat sheet, iykyk.--versionβ displays the version. say hi to her properly. π-e,--stderrβ redirects error output. but heads up bestie: unless-sis selected as well, this cancels the redirection of standard output viagrcat. so don't come crying if your stdout stops being cute. π-s,--stdoutβ redirects standard output. this one is used to redirect standard output together with the--stderroption. they're a package deal, fr fr.--colour=xβ where x is one ofonoffauto:--colour=onβ will colourise. this is the default, because obviously. π--colour=offβ will just execute command without colourising. plain. unseasoned. but sometimes that's the mood.--colour=autoβ will test if standard output is a tty, and colourise only when it is. she's checking the vibe first. smart girlie. π§
π¦ SEE ALSO π¦
go say hi to her sister. she's the one doing all the actual colourising. π
π AUTHOR π
Written by Radovan GarabΓk <garabik @ kassiopeia.juls.savba.sk>
and that's the whole page, bestie!! π this came from the General Commands Manual, section 1, and the footer line on the original was literally just GRC(1) β no version, no date, just her name in lights. iconic behaviour, honestly. now go colourise something. β¨π
πΈ
π¦ where this page comes from
- arch rolling: grc 1.13-3 Β· GPL
- debian bookworm: grc 1.13.1-1
- debian trixie: grc 1.13.1-1
- fedora 43: grc 1.13-10.fc43 Β· GPL-2.0-only
- fedora 44: grc 1.13-11.fc44 Β· GPL-2.0-only
- nixpkgs unstable: grc 1.13
- opensuse-leap 16.0: grc 1.13-bp160.1.9 Β· GPL-2.0-or-later
- ubuntu jammy: grc 1.13.1-1
- ubuntu noble: grc 1.13.1-1
- ubuntu resolute: grc 1.13.1-1build1
- ubuntu stonking: grc 1.13.1-1build1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms