mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-11 23:16:05 +00:00
Handle '!' prefix in rarun2's args
This commit is contained in:
parent
43e8d3ab0e
commit
9635ee8e5a
@ -123,6 +123,8 @@ static char *getstr(const char *src) {
|
||||
case '@':
|
||||
// slurp file
|
||||
return r_file_slurp (src+1, NULL);
|
||||
case '!':
|
||||
return r_str_trim_tail (r_sys_cmd_str (src+1, NULL, NULL));
|
||||
case ':':
|
||||
// hexpairs
|
||||
ret = strdup (src);
|
||||
|
Loading…
Reference in New Issue
Block a user