tg
8f53c68265
• protect POSIX builtins and utilities from aliases, e.g:
‣ : → \: ‣ alias → \alias ⇒ except in some internally used cases, where we use \builtin alias ‣ command . → \command . • protect Korn Shell builtins from aliases and functions, e.g: ‣ typeset → \builtin typeset ⇒ also unravels the “local” alias used ‣ print → \builtin print • protect internally-used things from aliases ‣ “let]” is not a valid function name ‣ “set” is POSIX so we don’t expect anyone to override it in a function • use “command -v” instead of “whence -p” (“which”) in most places; thanks izabera from #ed on IRC for pointing out that “command -v” is POSIX – except, “whence -p” a̲l̲w̲a̲y̲s̲ looks for an executable and shows its full pathname; “command -v” also resolves to aliases, functions and builtins, so only use it where it makes any sense (both never output to stderr) • make most of dot.mkshrc work in the face of such aliases ‣ “ulimit -c” is used; this is not POSIX, and not portable; maybe we should make ulimit accept-and-ignore the most common limits even if the OS doesn’t use them? • update list of builtin aliases in the manpage
Description
MirBSD Korn Shell for Jehanne
Languages
C
57.6%
Shell
26%
Roff
13.3%
Perl
2.6%
Makefile
0.5%