Commit ID:      1005560BBB87BB0247C
CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2015/05/23 17:43:23 UTC

Modified files:
        bin/mksh       : check.t eval.c mksh.1 sh.h

Log message:
The check for empty patterns and patterns matching the empty string
in commitid 1004D8283F068C41C3C was bogus; it fixed Jb_boin’s issue
but izabers’s 「var=foo; echo "${var/*/x}"」 was broken; in fact we
only want to not do the looping for // if the pattern matches much.

Also, fix a spelling mistake in the manpage and change some wording
to also work with associative arrays (in the future; no change).

To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.693 -r1.694 src/bin/mksh/check.t
cvs -R rdiff -kk -upr1.168 -r1.169 src/bin/mksh/eval.c
cvs -R rdiff -kk -upr1.366 -r1.367 src/bin/mksh/mksh.1
cvs -R rdiff -kk -upr1.729 -r1.730 src/bin/mksh/sh.h

Reply via email to