MirBSD Korn Shell for Jehanne
Go to file
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
2015-03-08 22:54:36 +00:00
Build.sh port this to GNU bash 1.12.1 from http://www.qemu-advent-calendar.org/#day-1 2014-12-08 12:20:40 +00:00
Makefile • Build.sh: fix NSIG detection for gcc-snapshot 2014-11-25 21:13:31 +00:00
check.pl • protect POSIX builtins and utilities from aliases, e.g: 2015-03-08 22:54:36 +00:00
check.t • protect POSIX builtins and utilities from aliases, e.g: 2015-03-08 22:54:36 +00:00
dot.mkshrc • protect POSIX builtins and utilities from aliases, e.g: 2015-03-08 22:54:36 +00:00
edit.c another oksh rcsid-only sync 2015-02-16 15:10:15 +00:00
emacsfn.h • merge printf from OpenBSD 2010-07-17 22:09:40 +00:00
eval.c can't set word=IFS_QUOTE if already IFS_WORD (something there) 2015-02-20 07:14:30 +00:00
exec.c • fixup here document expansion (regression wrt. pdksh 5.2.14) 2015-02-19 22:26:50 +00:00
expr.c oksh sync RCSIDs only: 2014-12-15 23:26:36 +00:00
funcs.c remove some unused string pooling stuff 2015-03-08 21:30:22 +00:00
histrap.c SECURITY: make “unset HISTFILE” really work 2015-03-07 20:46:31 +00:00
jobs.c KNF 2015-03-01 16:02:48 +00:00
lalloc.c stop using ptrdiff_t 2014-11-25 20:00:39 +00:00
lex.c KNF 2015-03-01 16:02:48 +00:00
lksh.1 remove the remark that lksh is not suitable for /bin/sh 2013-05-22 18:18:06 +00:00
main.c • protect POSIX builtins and utilities from aliases, e.g: 2015-03-08 22:54:36 +00:00
mirhash.h small gem ;) 2014-10-02 19:34:06 +00:00
misc.c keep “set -x” disabled during PS4 expansion, to avoid infinite looping 2015-03-01 15:23:05 +00:00
mksh.1 • protect POSIX builtins and utilities from aliases, e.g: 2015-03-08 22:54:36 +00:00
mksh.ico add the desktop shortcut / icon from mksh/Win32 so it may be used by everyone for mksh/Unix too 2013-07-25 16:18:25 +00:00
rlimits.opt more clueful (automatic) getopt string generation 2013-11-17 22:21:18 +00:00
sh.h • protect POSIX builtins and utilities from aliases, e.g: 2015-03-08 22:54:36 +00:00
sh_flags.opt fix the “set ±p” issue for good 2014-06-09 12:28:19 +00:00
shf.c stop (ab)using the OS symbolic constant EOF, always use -1; plus misc fixes 2015-02-06 10:09:07 +00:00
strlcpy.c some bad OSes use _FORTIFY_LEVEL and break this 2013-11-05 22:10:15 +00:00
syn.c • protect POSIX builtins and utilities from aliases, e.g: 2015-03-08 22:54:36 +00:00
tree.c slightly optimised and, more importantly, much more consistent (use only 2013-09-24 20:19:45 +00:00
var.c SECURITY: make “unset HISTFILE” really work 2015-03-07 20:46:31 +00:00
var_spec.h oops, this list is s’pos’ta be sorted 2012-11-30 16:45:25 +00:00