Hi,
On 07.08.2017 21:38, Chet Ramey wrote:
On 8/7/17 10:32 AM, Reto wrote:
Hi,
Not sure if it's a bug or intended behavior, but in bash 4.4 the behavior
changed with respect to builtin command 'command', called with /bin/sh.
When in Posix mode, bash doesn't allow functions to be defined with the
same name as a special builtin. It seems like RedHat added `command' to
the list of special builtins in their custom build of bash-4.4. Open a
ticket if they're your vendor.
OK, thanks for the explanation.
For reference I opened the following bug:
https://bugzilla.redhat.com/show_bug.cgi?id=1479220
best regards
Reto