MirBSD Korn Shell for Jehanne
Go to file
tg c700693d11 Add “unset foo[*]” mksh extension, which allows to unset the *contents*
of foo[0] (but not its attributes), and the rest of the array, so that
later “set +A foo bar” will set foo[0]=bar but retain the attributes.

This is important, because, in the future, arrays will have different
attributes per element, instead of all the same (which, actually, is
not entirely true right now either, since “unset foo[0]” will not mo-
dify the attributes of a foo[1] existing at that point in time), where
foo[$newkey] will inherit from foo[0], but typeset foo will only affect
foo[0] no longer foo[*] in the future. (The rules about typeset=local
will still apply, as they affect creation of variables in a scope.)
2010-01-25 14:11:29 +00:00
Build.sh use conftest.c ipv scn.c since that’s recognised by at least ccache as magic 2010-01-25 12:16:04 +00:00
check.pl
check.t Add “unset foo[*]” mksh extension, which allows to unset the *contents* 2010-01-25 14:11:29 +00:00
dot.mkshrc use [[ -o … ]] instead of [[ $- = *U* ]] manipulation 2009-12-12 22:27:14 +00:00
edit.c While we were supposed to use Ctrl-Arrowkey for wordwise jumping, 2010-01-08 22:21:06 +00:00
emacsfn.h
eval.c fix © year 2010-01-25 14:07:39 +00:00
exec.c re-vamp __attribute__ handling; let this pass on HP-UX bundled compiler 2009-12-12 22:27:10 +00:00
expr.c re-vamp __attribute__ handling; let this pass on HP-UX bundled compiler 2009-12-12 22:27:10 +00:00
funcs.c Add “unset foo[*]” mksh extension, which allows to unset the *contents* 2010-01-25 14:11:29 +00:00
histrap.c re-vamp __attribute__ handling; let this pass on HP-UX bundled compiler 2009-12-12 22:27:10 +00:00
jobs.c jobs.c: apply patch from deraadt@o: 2009-12-31 14:05:44 +00:00
lalloc.c
lex.c attempt a better fix: break off widthadj upon encountering NUL, 2009-12-05 20:17:59 +00:00
main.c fix © year 2010-01-25 14:07:39 +00:00
Makefile re-vamp __attribute__ handling; let this pass on HP-UX bundled compiler 2009-12-12 22:27:10 +00:00
misc.c fix © year 2010-01-25 14:07:39 +00:00
mksh.1 Add “unset foo[*]” mksh extension, which allows to unset the *contents* 2010-01-25 14:11:29 +00:00
setmode.c
sh_flags.h * rename "set -o posix" (FPOSIX) to "set -o sh" (FSH) because it's not 2009-10-02 18:08:37 +00:00
sh.h RCSID sync (oksh bumped their array limit again… wonder when………) 2010-01-16 19:08:05 +00:00
shf.c /me is annoyed 2009-11-28 14:28:03 +00:00
strlcpy.c
syn.c re-vamp __attribute__ handling; let this pass on HP-UX bundled compiler 2009-12-12 22:27:10 +00:00
tree.c
var_spec.h further optimise and simplify the handling of $RANDOM, reads and writes 2009-09-26 03:40:03 +00:00
var.c Add “unset foo[*]” mksh extension, which allows to unset the *contents* 2010-01-25 14:11:29 +00:00