Jump to content

Qgrep.exe

From EDM2
Revision as of 16:47, 1 January 2018 by Martini (talk | contribs) (Created page with "It came included in the IBM Device Driver Kit. ==Versions== {| class="wikitable" ! Date !!Version !! Size !! Comments |- | 1999-06-30 || n/a || 37,575 bytes || |- |} ==Us...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

It came included in the IBM Device Driver Kit.

Versions

Date Version Size Comments
1999-06-30 n/a 37,575 bytes

Usage

 qgrep [-?BELOXlnvxy][-e string][-f file][-i file][strings][files]

Options

-?
- print this message
-B
- match pattern if at beginning of line
-E
- match pattern if at end of line
-L
- treat search strings literally (fgrep)
-O
- print seek offset before each matching line
-X
- treat search strings as regular expressions (grep)
-l
- print only file name if file contains match
-n
- print line number before each matching line
-v
- print only lines not containing a match
-x
- print lines that match exactly (-BE)
-y
- treat upper and lower case as equivalent
-e
- treat next argument literally as a search string
-f
- read search strings from file named by next argument (- = stdin)
-i
- read file list from file named by next argument (- = stdin)

White space separates search strings unless the argument is prefixed with -e, e.g., 'qgrep "foo bar" x.y' means find either "foo" or "bar" in x.y, while 'qgrep -e "foo bar" x.y' means find "foo bar".