From 20bd8a990b0080a89112f0e90b1a52316dbd2a3a Mon Sep 17 00:00:00 2001 From: Aidan Olsen Date: Wed, 27 Nov 2024 11:36:29 -0700 Subject: [PATCH] Pass allow_escape=True --- osh/split.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/osh/split.py b/osh/split.py index 9296c820cf..b4ecb16e16 100644 --- a/osh/split.py +++ b/osh/split.py @@ -182,10 +182,10 @@ def SplitForWordEval(self, s, ifs=None): Also used by the explicit shSplit() function. """ sp = self._GetSplitter(ifs=ifs) - spans = sp.Split(s, True) + #spans = sp.Split(s, True) # Note: pass allow_escape=False so \ isn't special - #spans = sp.Split(s, False) + spans = sp.Split(s, False) if 0: for span in spans: