Handle '!' prefix in rarun2's args

This commit is contained in:
pancake 2014-10-20 13:39:37 +02:00
parent 43e8d3ab0e
commit 9635ee8e5a

View File

@ -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);