Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
GRC(1)			    General Commands Manual			GRC(1)

NAME
       grc - frontend for generic colouriser grcat(1)

SYNOPSIS
       grc [options] command [args]

DESCRIPTION
       grc will	execute	command	command	with optional parameters [args]	piping
       its stdout or stderr into grcat,	with appropriate configuration file.

       Configuration  file  for	 grc  is determined by /usr/local/etc/grc.conf
       file.

       Format of /usr/local/etc/grc.conf: each entry consists of 2 lines,  be-
       tween entries there can be any number of	empty lines or lines beginning
       with # (comments)

       First line is regular expression, second	line the name of configuration
       file for	grcat.

       Configuration  file after the first regular expression matching command
       [args] will be passed to	grcat as its configuration file

OPTIONS
       --help Show summary of options.

       --version
	      Display version.

       -e --stderr
	      Redirect error output. Unless -s is selected as well, this  can-
	      cels redirection of standard output via grcat

       -s --stdout
	      Redirect	standard  output. Used to redirect standard output to-
	      gether with --stderr option.

       --colour=x
	      x	is one of on off auto

	      --colour=on will colourise (default)

	      --colour=off will	just execute command without colourising.

	      --colour=auto will  test	if  standard  output  is  a  tty,  and
	      colourise	only when it is.

SEE ALSO
       grcat(1)

AUTHOR
       Written by Radovan Garabik <garabik @ kassiopeia.juls.savba.sk>

									GRC(1)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=grc&sektion=1&manpath=FreeBSD+Ports+15.0>

home | help