Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to access the internal grep help? #13991

Closed
DaniloNC opened this issue May 7, 2019 · 1 comment
Closed

How to access the internal grep help? #13991

DaniloNC opened this issue May 7, 2019 · 1 comment

Comments

@DaniloNC
Copy link
Contributor

DaniloNC commented May 7, 2019

Work environment

Questions Answers
OS/arch/bits (mandatory) kali linux docker - Linux 6aab7b5494fc 4.15.0-48-generic #51-Ubuntu SMP Wed Apr 3 08:28:49 UTC 2019 x86_64 GNU/Linux
File format of the file you reverse (mandatory) ELF (Does not matter)
Architecture/bits of the file (mandatory) x86/64 (Does not matter)
r2 -v full output, not truncated (mandatory) radare2 3.5.0-git 21648 @ linux-x86-64 git.3.4.1-366-g428e62340 commit: 428e623 build: 2019-05-07__16:02:

Expected behavior

Access the internal grep help

Actual behavior

Internel Grep not accessible from the command line using the recommended syntax ~??

[0x00006130]> ?@?

[.... TRUNCATE ....]
| .!rabin2 -re $FILE  run command output as r2 script
| *                   output of command in r2 script format (CC*)
| j                   output of command in JSON format (pdj)
| ~?                  count number of lines (like wc -l)
| ~??                 show internal grep help
| ~..                 internal less
| ~{}                 json indent
| ~{}..               json indent and less
| ~word               grep for lines matching word
| ~!word              grep for lines NOT matching word
[.... TRUNCATE .... ]
[0x00006130]> ?~??
[0x00006130]> ?@~??
[0x00006130]> ~??
[0x00006130]> 

Steps to reproduce the behavior

Additional Logs, screenshots, source-code, configuration dump, ...

@karliss
Copy link
Contributor

karliss commented Feb 10, 2020

Both ~? and ~?? currently print the help. The double question mark in ? and ~? could be replaced with single question mark version.

@DaniloNC DaniloNC closed this as completed Jul 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants