rizin/subprojects/rizin-shell-parser/corpus/grep_commands.txt
Riccardo Schirone 6f40dfe493
Move remaining things from shlr/ to meson subprojects (#2126)
* Move binrz meson directives to binrz/ dir

* Move rizin-shell-parser to a subproject

* Move bochs to a meson subproject

* Move rzqnx to meson subproject

* Move winkd to a meson subproject

* Move rzar to a meson subproject

* Move rzw32dbg_wrap to a meson subproject

* Move ptrace-wrap to a meson subproject

* Move rzgdb to a meson subproject

* Rename w32dbg_wrap to rzw32dbg_wrap

* Update CODEOWNERS

* Remove old references to shlr

* Move shlr/heap stuff in core and remove shlr/arm

* Move spp to a meson subproject

* Remove last references to shlr

* Remove use_webui option

* Move include files directives to librz/include/meson.build

* Move librz meson directives into librz/meson.build

* Handle d/ directories inside the specific module meson.build

* Move plugins listing to specific module meson.build

* Move rzheap to its own subproject

* Fix js linter and licenses

* Use meson.override_dependency for all rz_ modules
2021-12-22 09:20:39 +08:00

60 lines
1.4 KiB
Text

================
Very simple grep
================
pd 10 ~ mov
pd 10~mov
afl~$
---
(statements
(grep_stmt
command: (arged_stmt
command: (cmd_identifier)
args: (args (arg (arg_identifier))))
specifier: (grep_specifier (grep_specifier_identifier)))
(grep_stmt
command: (arged_stmt
command: (cmd_identifier)
args: (args (arg (arg_identifier))))
specifier: (grep_specifier (grep_specifier_identifier)))
(grep_stmt
command: (arged_stmt command: (cmd_identifier))
specifier: (grep_specifier (grep_specifier_identifier))))
=======================================
Grep with cmd substitution as specifier
=======================================
pd 10~`?e mov`
pd 10~mo`?e v`
pd 10~mo$(?e v)
---
(statements
(grep_stmt
(arged_stmt (cmd_identifier)
(args (arg (arg_identifier))))
(grep_specifier
(cmd_substitution_arg
(arged_stmt (cmd_identifier)
(args (arg (arg_identifier)))))))
(grep_stmt
(arged_stmt (cmd_identifier)
(args (arg (arg_identifier))))
(grep_specifier
(grep_specifier_identifier)
(cmd_substitution_arg
(arged_stmt (cmd_identifier)
(args (arg (arg_identifier)))))))
(grep_stmt
(arged_stmt (cmd_identifier)
(args (arg (arg_identifier))))
(grep_specifier
(grep_specifier_identifier)
(cmd_substitution_arg
(arged_stmt (cmd_identifier)
(args (arg (arg_identifier))))))))