| Cobra | Interactive Query Language | grep | ||
|---|---|---|---|---|
| NAMEG — search (grep) the source text of open file for a patternSYNTAXG pattern DESCRIPTIONSearch the source text of all currently open files for a pattern and display all matching lines.EXAMPLES: G main # display any line that matches the pattern : m main # more precise matching on tokens NOTESNo new marks are placed for matching lines or tokens. An alternative method would be to use a shell escape, which can then be applied to a different set of files. For instance:: !grep main ../src/*.cor also: : !cobra -e main *.c SEE ALSOB, F, patterns, shell | ||||
| Return to index Manual Tutorial | (Last Updated: 8 May 2017) | |||