Add support for pattern substitution to variables in ksh using a common syntax
authoranton <anton@openbsd.org>
Tue, 4 Jul 2017 07:29:32 +0000 (07:29 +0000)
committeranton <anton@openbsd.org>
Tue, 4 Jul 2017 07:29:32 +0000 (07:29 +0000)
commitbe48121bc7c46cf89d274fe5fe8297088593db2d
tree83482267723913dda47076eb1c9783d5bff9f9da
parent270badb5cddd9778eeba6d015e6cf8fcd9ffbb54
Add support for pattern substitution to variables in ksh using a common syntax
borrowed from ksh93.

Survived a ports build performed by naddy@ and encouraged by many.
bin/ksh/eval.c
bin/ksh/ksh.1
bin/ksh/lex.c
bin/ksh/misc.c
bin/ksh/sh.h
regress/bin/ksh/strsub.t [new file with mode: 0644]