From 68e14c41f28e54aef90e580411dda2385a69f43f Mon Sep 17 00:00:00 2001 From: "Barton E. Schaefer" Date: Fri, 12 Aug 2016 00:55:32 -0700 Subject: 39028: more join/split cases fixed and tested. --- Test/D04parameter.ztst | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'Test/D04parameter.ztst') diff --git a/Test/D04parameter.ztst b/Test/D04parameter.ztst index 35630c5ca..460a841c3 100644 --- a/Test/D04parameter.ztst +++ b/Test/D04parameter.ztst @@ -1970,8 +1970,14 @@ set -- one:two bucklemy:shoe IFS= setopt shwordsplit - print -l ${@} + print -l ${@} ${(s.:.)*} ${(s.:.j.-.)*} ) -0:Joining of $@ does not happen when IFS is empty +0:Joining of $@ does not happen when IFS is empty, but splitting $* does >one:two >bucklemy:shoe +>one +>twobucklemy +>shoe +>one +>two-bucklemy +>shoe -- cgit 1.4.1