From c68246f449a0ad63a8bd85a86a617454b9354151 Mon Sep 17 00:00:00 2001 From: pancake Date: Wed, 28 Feb 2024 20:47:22 +0100 Subject: [PATCH] Fix #22656 - Handle quoted pipes ##shell --- libr/core/cmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libr/core/cmd.c b/libr/core/cmd.c index 45e625471c..6914c11c94 100644 --- a/libr/core/cmd.c +++ b/libr/core/cmd.c @@ -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;