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
F153741112: D36363.diff
Thu, Apr 23, 8:48 AM
Unknown Object (File)
Wed, Apr 15, 5:17 PM
Unknown Object (File)
Tue, Apr 14, 11:59 PM
Unknown Object (File)
Sat, Apr 11, 8:41 AM
Unknown Object (File)
Thu, Apr 9, 6:52 AM
Unknown Object (File)
Mar 22 2026, 3:41 PM
Unknown Object (File)
Feb 8 2026, 5:06 AM
Unknown Object (File)
Feb 7 2026, 6:43 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