From 364115f818ef57df60db2893eac41a0ff62d8051 Mon Sep 17 00:00:00 2001 From: Mahmoud Al-Qudsi Date: Sun, 11 Mar 2018 20:18:21 -0500 Subject: [PATCH] fixup! Properly parse spaces and escaped/quoted spaces in expansion braces --- src/expand.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/expand.cpp b/src/expand.cpp index 2031dc717..899ec4653 100644 --- a/src/expand.cpp +++ b/src/expand.cpp @@ -942,8 +942,6 @@ static expand_error_t expand_braces(const wcstring &instr, expand_flags_t flags, whole_item.append(in, length_preceding_braces); whole_item.append(item_begin, item_len); whole_item.append(brace_end + 1); - whole_item = trim(whole_item); - // debug(0, L"Found brace item: '%ls'\n", whole_item.c_str()); expand_braces(whole_item, flags, out, errors); item_begin = pos + 1;