View on GitHub

LynxBot

A Twitch.tv IRC bot for Old School Runescape

Download this project as a .zip file Download this project as a tar.gz file

cgrep(1) - LynxBot manual

NAME

cgrep - find commands matching a pattern

SYNOPSIS

$cgrep [-ai] [-c|-d] PATTERN

DESCRIPTION

cgrep searches through default and custom bot commands for those matching the given PATTERN.

The PATTERN is a valid regular expression.

OPTIONS

-a, --active
ignore custom commands that are inactive
-c, --custom
only search through custom commands
-d, --default
only search through default commands
--help
print brief description and usage information
-i, --ignore-case
ignore case distinctions in the PATTERN and commands

EXAMPLES

Finds all commands containing the string 'com':

$cgrep com

Finds all commands starting with 's':

$cgrep ^s

Finds all commands containing 'hello' (case-insensitive):

$cgrep -i hello

Finds all custom commands containing 'ahk':

$cgrep -c ahk

SEE ALSO

cmdinfo(1)