Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: $* assignment regression in shwordsplit



Op 02-04-17 om 19:45 schreef Martijn Dekker:
> $ Src/zsh -f -c 'set -- one two; IFS=; var=$*/$*; echo $var $*/$*;
> 	setopt shwordsplit; var=$*/$*; echo "$var" "$*/$*"'
> onetwo/onetwo onetwo/onetwo
> onetwo/$* onetwo/onetwo

Correction, the output of this one is actually:

onetwo/onetwo one two/one two
onetwo/$* onetwo/onetwo

Had accidentally left the output of a previous version of the test that
quoted all 'echo' arguments even before setting shwordsplit. This
correction is just for accuracy, it's not actually relevant to the bug
report.

- M.



Messages sorted by: Reverse Date, Date, Thread, Author