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
F151885903: D36363.id109881.diff
Sat, Apr 11, 8:41 AM
Unknown Object (File)
Thu, Apr 9, 6:52 AM
Unknown Object (File)
Sun, Mar 22, 3:41 PM
Unknown Object (File)
Feb 8 2026, 5:06 AM
Unknown Object (File)
Feb 7 2026, 6:43 PM
Unknown Object (File)
Jan 31 2026, 2:12 AM
Unknown Object (File)
Nov 28 2025, 11:31 PM
Unknown Object (File)
Nov 24 2025, 6:29 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