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
Unknown Object (File)
Mar 11 2024, 9:59 AM
Unknown Object (File)
Mar 11 2024, 9:59 AM
Unknown Object (File)
Mar 11 2024, 9:59 AM
Unknown Object (File)
Mar 7 2024, 11:52 PM
Unknown Object (File)
Jan 15 2024, 3:03 AM
Unknown Object (File)
Jan 3 2024, 7:09 PM
Unknown Object (File)
Jan 3 2024, 7:09 PM
Unknown Object (File)
Jan 3 2024, 7:05 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