deck_grep
Search a reservoir deck and its include files for regex patterns, returning file, line, and context for each match.
Instructions
Regex search across a deck AND its resolved INCLUDE tree (PATHS-aware).
The deck-QC workhorse: deck_grep(deck, "^WCONPROD|^LIFTOPT", context=8)
returns file, line number, and context for every keyword hit — including
keywords that live in include files referenced via $ALIAS paths. Files
larger than ~8 MB (bulk GRDECL arrays) are skipped and reported.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context | No | ||
| pattern | Yes | ||
| deck_path | Yes | ||
| ignore_case | No | ||
| max_matches | No | ||
| search_includes | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||