Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/bin/sh
Module Name: src
Committed By: kre
Date: Sat Mar 14 16:43:36 UTC 2026
Modified Files:
src/bin/sh: exec.c
Log Message:
Improve the type builtin command slightly.
Get rid of the "is a tracked alias for" nonsense response, which
adds no useful information (just confusion) - if "type foo" said
foo is /usr/bin/foo, the next time it would say foo is a tracked
alias for /usr/bin/foo (with nothing else changing or happening
at all). I had intended to remove that attribution years ago,
and I was actually sure that I had done so, but it turns out, that
somehow it got forgotten. Now the result for "type foo" (assuming
that foo isn't changing externally, by being renamed, or created,
or something similar, or PATH changing) will be the same each time
the command is run.
While doing that, also improve the output should someone request
the type of '' (probably as a result of type "${foo}" where foo
is empty, or a name typo, or similar).
To generate a diff of this commit:
cvs rdiff -u -r1.59 -r1.60 src/bin/sh/exec.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index