Page MenuHomeFreeBSD

stand: separate the command lookup from the command execution
ClosedPublic

Authored by imp on Aug 26 2022, 6:03 PM.
Tags
None
Referenced Files
F132414940: D36363.id110050.diff
Thu, Oct 16, 6:00 PM
F132414934: D36363.id109881.diff
Thu, Oct 16, 6:00 PM
F132414932: D36363.id.diff
Thu, Oct 16, 6:00 PM
F132370191: D36363.diff
Thu, Oct 16, 7:32 AM
Unknown Object (File)
Sun, Sep 28, 7:03 PM
Unknown Object (File)
Wed, Sep 24, 6:50 PM
Unknown Object (File)
Sep 7 2025, 12:34 PM
Unknown Object (File)
Aug 31 2025, 7:25 PM
Subscribers

Details

Summary

Factor out interp_lookup_cmd to search for a command from
interp_builtin_cmd. This simplifies the latter and can be used to expand
lua to ask if a command exists.

Sponsored by: Netflix

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable