Home
last modified time | relevance | path

Searched hist:"6 e76445cf757a6f21c6c060d5773a7a64f447c9b" (Results 1 – 3 of 3) sorted by relevance

/freebsd/bin/sh/tests/builtins/
H A Dgetopts6.06e76445cf757a6f21c6c060d5773a7a64f447c9b Sat May 10 19:42:21 CEST 2014 Jilles Tjoelker <jilles@FreeBSD.org> sh: Don't discard getopts state on unknown option or missing argument.

When getopts finds an invalid option or a missing option-argument, it should
not reset its state and should set OPTIND as normal. This is an old ash bug
that was fixed long ago in dash. Our behaviour now matches most other
shells.
H A Dgetopts7.06e76445cf757a6f21c6c060d5773a7a64f447c9b Sat May 10 19:42:21 CEST 2014 Jilles Tjoelker <jilles@FreeBSD.org> sh: Don't discard getopts state on unknown option or missing argument.

When getopts finds an invalid option or a missing option-argument, it should
not reset its state and should set OPTIND as normal. This is an old ash bug
that was fixed long ago in dash. Our behaviour now matches most other
shells.
/freebsd/bin/sh/
H A Doptions.cdiff 6e76445cf757a6f21c6c060d5773a7a64f447c9b Sat May 10 19:42:21 CEST 2014 Jilles Tjoelker <jilles@FreeBSD.org> sh: Don't discard getopts state on unknown option or missing argument.

When getopts finds an invalid option or a missing option-argument, it should
not reset its state and should set OPTIND as normal. This is an old ash bug
that was fixed long ago in dash. Our behaviour now matches most other
shells.