From c23a0d84b029676832ea0f2eeb0caa8c47d0500d Mon Sep 17 00:00:00 2001 From: dana Date: Mon, 3 May 2021 18:08:11 -0500 Subject: 48614: getopts: Calculate OPTIND according to POSIX_BUILTINS --- README | 3 +++ 1 file changed, 3 insertions(+) (limited to 'README') diff --git a/README b/README index 76bf4ec35..3ef8afcd1 100644 --- a/README +++ b/README @@ -99,6 +99,9 @@ emulate sh: When zsh emulates sh, the final command in a pipeline is now run in a subshell. This differs from the behavior in the native (zsh) mode, but is consistent with most other sh implementations. +getopts now calculates OPTIND in a similar manner to other shells when the +POSIX_BUILTINS option is enabled. + Incompatibilities between 5.7.1 and 5.8 --------------------------------------- -- cgit 1.4.1