Artifacts Associated With Ticket 55e5404b7aec68ef
Ticket change [a3500b2207] (rid 253155) by apnadkarni on 2026-04-28 05:15:42:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/x-markdown"
- comment initialized to:
I am not sure whether this is a documentation bug or implementation bug. The manpage says ``` Determines whether there is an executable file or shell builtin by the name cmd. ... For example, to run the umask shell builtin on Linux, you would do: exec {*}[auto_execok umask] ``` Note the reference to shell builtin and the example. However, on my Ubuntu 22 system at least, the above does not work, `auto_execok` returns an empty string. - is_private initialized to: "0"
- login: "apnadkarni"
- priority initialized to: "5 Medium"
- private_contact initialized to: "9546e9877f1a8899e25a89082561ee694e7fb402"
- resolution initialized to: "None"
- severity initialized to: "Minor"
- status initialized to: "Open"
- submitter initialized to: "apnadkarni"
- subsystem initialized to: "- New Builtin Commands"
- title initialized to:
auto_execok on Unix does not work for built-in shell commands as documented
- type initialized to: "Bug"
Ticket change [271ee05334] (rid 253156) by apnadkarni on 2026-04-28 05:36:30:
- comment changed to:
I am not sure whether this is a documentation bug or implementation bug. The manpage says ``` Determines whether there is an executable file or shell builtin by the name cmd. ... For example, to run the umask shell builtin on Linux, you would do: exec {*}[auto_execok umask] ``` Note the reference to shell builtin in the example. However, on my Ubuntu 22 system at least, the above does not work, `auto_execok` returns an empty string. - login: "apnadkarni"
- mimetype: "text/plain"
- comment changed to:
Ticket change [fe3eedaa75] (rid 253349) by dkf on 2026-05-08 19:00:41:
- login: "dkf"
- mimetype: "text/plain"
- subsystem changed to: "38. Init - Library - Autoload"
Ticket change [02bf7d16c7] (rid 253683) by apnadkarni on 2026-05-20 09:02:11:
- closedate changed to: "2461180.8765205788"
- closer changed to: "apnadkarni"
- icomment:
Closing as a documentation fix as part of TIP 755. As far as I can tell, `auto_execok` has never handled shell built-ins on Unix. It's not clear how it could given the different shells.
- login: "apnadkarni"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"