From 6f93994a5aeb3a8290153ec159af35bbd96a6673 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Wed, 29 Feb 2012 09:57:40 +0000 Subject: 30299: "$*" was split with SHWORDSPLIT if IFS was empty or unset --- Test/D04parameter.ztst | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'Test/D04parameter.ztst') diff --git a/Test/D04parameter.ztst b/Test/D04parameter.ztst index 7eb721226..8bc37ff4c 100644 --- a/Test/D04parameter.ztst +++ b/Test/D04parameter.ztst @@ -1475,3 +1475,13 @@ print ${#foo} 0:Nularg removed from split empty string >0 + + (set -- a b c + setopt shwordsplit + IFS= + print -rl "$*" + unset IFS + print -rl "$*") +0:Regression test for shwordsplit with null or unset IFS and quoted array +>abc +>a b c -- cgit 1.4.1