merge the nameref code, using mksh standard scoping as discussed

This commit is contained in:
tg
2009-09-06 17:42:15 +00:00
parent 574d6725aa
commit 9531e12b36
7 changed files with 244 additions and 28 deletions

3
main.c
View File

@ -33,7 +33,7 @@
#include <locale.h>
#endif
__RCSID("$MirOS: src/bin/mksh/main.c,v 1.143 2009/08/29 11:26:44 tg Exp $");
__RCSID("$MirOS: src/bin/mksh/main.c,v 1.144 2009/09/06 17:42:13 tg Exp $");
extern char **environ;
@ -67,6 +67,7 @@ static const char *initcoms[] = {
"autoload=typeset -fu",
"functions=typeset -f",
"history=fc -l",
"nameref=typeset -n",
"nohup=nohup ",
r_fc_e_,
"source=PATH=$PATH:. command .",