Overview
| Artifact ID: | a3500b220702663e2a3af7e9ac0ef382f130566861f94dde7270c38fae63fbcb |
|---|---|
| Ticket: | 55e5404b7aec68ef897acc37e3de812d31d48d4b
auto_execok on Unix does not work for built-in shell commands as documented |
| User & Date: | apnadkarni on 2026-04-28 05:15:42 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-markdown"
- 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 and the example. However, on my Ubuntu 22 system at least, the above does not work, `auto_execok` returns an empty string. - is_private changed to: "0"
- login: "apnadkarni"
- priority changed to: "5 Medium"
- private_contact changed to: "9546e9877f1a8899e25a89082561ee694e7fb402"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "apnadkarni"
- subsystem changed to: "- New Builtin Commands"
- title changed to:
auto_execok on Unix does not work for built-in shell commands as documented
- type changed to: "Bug"