blob: 8914fcb3d3f4ae27a967862ad0ca5c049ab2679c [file] [log] [blame]
MG Mud User88f12472016-06-24 23:31:02 +02001SYNOPSIS
2 xgrep [-iv] <regexp> <filepattern>
3 or
4 xgrep [-iv] <regexp> (when reading from a pipe)
5
6DESCRIPTION
7 Search for the regular expression <regexp> in all files matching the
8 <filepattern>.
9 Works simular to the Unix command "grep". The reslut will be written
10 to <STDOUT> and may be piped into another command.
11
12OPTIONS
13 -v reverts the sense of <regexp>.
14
15 -i matches case-insensitive
16
17EXAMPLES
18 xgrep Deepthought /log/SHOUTS
19 This will search throught the shout log file for any line which has
20 the word "Deepthought" in it.
21
22 xgrep create\(\) *.c
23 This will search for all lines of all lpc code files in the current dir
24 which have the function "create()" defined.
25