larsbrinkhoff / linux-ddt

DDT for Linux
2 stars 2 forks source link

System command detection in ccmd() #10

Closed aloofschipperke closed 6 years ago

aloofschipperke commented 6 years ago

/bin, /sbin, /usr/bin, and /usr/sbin are internally mapped to SYS, SYS1, SYS2, and SYS3 as an array of o_path|o_directory file descriptors. Early use of *at() calls.

ccmd() now checks these directories if the specified colon command isn't builtin. No support for NFDIR or OFDIR.

Builtins now have access to the command line argument string.