1GRC(1)                      General Commands Manual                     GRC(1)
2
3
4

NAME

6       grc - frontend for generic colouriser grcat(1)
7

SYNOPSIS

9       grc [options] command [args]
10

DESCRIPTION

12       grc will execute command command with optional parameters [args] piping
13       its stdout or stderr into grcat, with appropriate configuration file.
14
15       Configuration file for grc is determined by /etc/grc.conf file.
16
17       Format of /etc/grc.conf: each entry consists of 2  lines,  between  en‐
18       tries  there can be any number of empty lines or lines beginning with #
19       (comments)
20
21       First line is regular expression, second line the name of configuration
22       file for grcat.
23
24       Configuration  file after the first regular expression matching command
25       [args] will be passed to grcat as its configuration file
26
27

OPTIONS

29       --help Show summary of options.
30
31       --version
32              Display version.
33
34       -e --stderr
35              Redirect error output. Unless -s is selected as well, this  can‐
36              cels redirection of standard output via grcat
37
38       -s --stdout
39              Redirect  standard  output. Used to redirect standard output to‐
40              gether with --stderr option.
41
42       --colour=x
43              x is one of on off auto
44
45              --colour=on will colourise (default)
46
47              --colour=off will just execute command without colourising.
48
49              --colour=auto will  test  if  standard  output  is  a  tty,  and
50              colourise only when it is.
51
52

SEE ALSO

54       grcat(1)
55

AUTHOR

57       Written by Radovan Garabík <garabik @ kassiopeia.juls.savba.sk>
58
59
60
61                                                                        GRC(1)
Impressum