Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

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

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-markdown"
  4. 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.
    
  5. is_private changed to: "0"
  6. login: "apnadkarni"
  7. priority changed to: "5 Medium"
  8. private_contact changed to: "9546e9877f1a8899e25a89082561ee694e7fb402"
  9. resolution changed to: "None"
  10. severity changed to: "Minor"
  11. status changed to: "Open"
  12. submitter changed to: "apnadkarni"
  13. subsystem changed to: "- New Builtin Commands"
  14. title changed to:
    auto_execok on Unix does not work for built-in shell commands as documented
    
  15. type changed to: "Bug"