MirBSD Korn Shell for Jehanne
c700693d11
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.) |
||
---|---|---|
Build.sh | ||
check.pl | ||
check.t | ||
dot.mkshrc | ||
edit.c | ||
emacsfn.h | ||
eval.c | ||
exec.c | ||
expr.c | ||
funcs.c | ||
histrap.c | ||
jobs.c | ||
lalloc.c | ||
lex.c | ||
main.c | ||
Makefile | ||
misc.c | ||
mksh.1 | ||
setmode.c | ||
sh_flags.h | ||
sh.h | ||
shf.c | ||
strlcpy.c | ||
syn.c | ||
tree.c | ||
var_spec.h | ||
var.c |