-
-
Notifications
You must be signed in to change notification settings - Fork 361
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
Swap - (single dash) and = (equal sign) meaning #616
Comments
Due to the fact that
|
This also seems to be reasonable to me. |
I think it would be a good fit for 0.2.0 to break things early and don't change the behavior later. |
i like it |
@seanachao This issue is asigned to you as RSoC micro-task, so you could work on this from now on. Feel free to ask questions and send Pull Requests. In case for anyone who is not aware about RSoC. CC @XVilka |
There are some test question, I will continue to resolve it . |
Is your feature request related to a problem? Please describe.
This issue follows the same trend as #615 to standardize the special command line flags recognized when launching Rizin.
According to the POSIX Utility Syntax - Guideline 13:
Meaning:
rz -
,rz -d -
, etc, shall treat-
as an indicator to start Rizin and process the data coming from stdin, instead of loading themalloc://512
plugin.Try it with any utility that reads a file:
It shall be noted that using
--
(double dash) before-
doesn't change the meaning of-
as stdin (see #615):Surprisingly, Rizin is able to read (more or less) from the standard input, but uses the
=
special flag.Describe the solution you'd like
Swap the
=
and the-
special command line flags recognized by Rizin as<file>
parameter:-
should read from stdin, following the standard for command line utilities=
should load themalloc://512
pluginIt shall be noted that currently reading from stdin doesn't truly work and mangles the terminal, see #617 (a
reset
solves it).Describe alternatives you've considered
💔
Additional context
This behavior is also present in radare2.
The text was updated successfully, but these errors were encountered: