Fix #22656 - Handle quoted pipes ##shell

This commit is contained in:
pancake 2024-02-28 20:47:22 +01:00 committed by GitHub
parent 08670dc007
commit c68246f449
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3994,7 +3994,7 @@ static char *r_core_cmd_find_subcmd_end(char *cmd, bool backquote) {
static int r_core_cmd_subst_i(RCore *core, char *cmd, char *colon, bool *tmpseek) {
R_CRITICAL_ENTER (core);
RList *tmpenvs = r_list_newf (tmpenvs_free);
const char *quotestr = "`";
const char *quotestr = "`\"'";
const char *tick = NULL;
char *ptr, *ptr2, *str;
char *arroba = NULL;