Re: [ksh] [patch] Make "$@" POSIX-compliant with empty IFS

2016-05-06 Thread Martijn Dekker
Op 24-03-16 om 04:04 schreef Theo Buehler: On Fri, Mar 04, 2016 at 11:29:38AM +0100, Dmitrij D. Czarkoff wrote: Martijn Dekker said: So this patch makes quoted "$@" act according to the standard even when IFS is empty. Quoted "$*" is unchanged. For the unspecified (not standardised) cases of un

Re: [ksh] [patch] Make "$@" POSIX-compliant with empty IFS

2016-03-23 Thread Theo Buehler
On Fri, Mar 04, 2016 at 11:29:38AM +0100, Dmitrij D. Czarkoff wrote: > Martijn Dekker said: > > So this patch makes quoted "$@" act according to the standard even when > > IFS is empty. Quoted "$*" is unchanged. For the unspecified (not > > standardised) cases of unquoted $@ and $*, this patch make

Re: [ksh] [patch] Make "$@" POSIX-compliant with empty IFS

2016-03-04 Thread Dmitrij D. Czarkoff
Martijn Dekker said: > So this patch makes quoted "$@" act according to the standard even when > IFS is empty. Quoted "$*" is unchanged. For the unspecified (not > standardised) cases of unquoted $@ and $*, this patch makes ksh act like > AT&T ksh93, bash, zsh and (d)ash, which seems safest from a

[ksh] [patch] Make "$@" POSIX-compliant with empty IFS

2016-03-03 Thread Martijn Dekker
Hi all, I'm new here and posting at Theo de Raadt's request. I'm developing a general-purpose cross-platform library for the POSIX shell language and in the process I encounter lots of bugs in various shells. I will be posting here a few times with some patches and bug reports against OpenBSD ksh.