diff --git a/funcs.c b/funcs.c index 849ff44..2bfa30c 100644 --- a/funcs.c +++ b/funcs.c @@ -38,7 +38,7 @@ #endif #endif -__RCSID("$MirOS: src/bin/mksh/funcs.c,v 1.323 2017/02/18 02:33:11 tg Exp $"); +__RCSID("$MirOS: src/bin/mksh/funcs.c,v 1.324 2017/03/11 23:10:40 tg Exp $"); #if HAVE_KILLPG /* @@ -100,7 +100,7 @@ const struct builtin mkshbuiltins[] = { /* no =: AT&T manual wrong */ {Talias, c_alias}, {"*=break", c_brkcont}, - {Tgbuiltin, c_builtin}, + {Tbuiltin, c_builtin}, {Tbcat, c_cat}, {Tcd, c_cd}, /* dash compatibility hack */ @@ -142,7 +142,7 @@ const struct builtin mkshbuiltins[] = { {"umask", c_umask}, {Tunalias, c_unalias}, {"*=unset", c_unset}, - {"=wait", c_wait}, + {"wait", c_wait}, {"whence", c_whence}, #ifndef MKSH_UNEMPLOYED {Tbg, c_fgbg}, diff --git a/mksh.1 b/mksh.1 index 07b6f69..2e6be7e 100644 --- a/mksh.1 +++ b/mksh.1 @@ -1,4 +1,4 @@ -.\" $MirOS: src/bin/mksh/mksh.1,v 1.424 2017/02/27 16:08:04 tg Exp $ +.\" $MirOS: src/bin/mksh/mksh.1,v 1.425 2017/03/11 23:10:41 tg Exp $ .\" $OpenBSD: ksh.1,v 1.160 2015/07/04 13:27:04 feinerer Exp $ .\"- .\" Copyright © 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, @@ -76,7 +76,7 @@ .\" with -mandoc, it might implement .Mx itself, but we want to .\" use our own definition. And .Dd must come *first*, always. .\" -.Dd $Mdocdate: February 27 2017 $ +.Dd $Mdocdate: March 11 2017 $ .\" .\" Check which macro package we use, and do other -mdoc setup. .\" @@ -3022,18 +3022,18 @@ Additional .Nm commands keeping assignments: .Pp -.Ic builtin , global , source , typeset , -.Ic wait +.Ic global , source , typeset .Pp Builtins that are not special: .Pp .Ic [ , alias , bg , bind , -.Ic cat , cd , command , echo , -.Ic false , fc , fg , getopts , -.Ic jobs , kill , let , print , -.Ic pwd , read , realpath , rename , -.Ic sleep , suspend , test , true , -.Ic ulimit , umask , unalias , whence +.Ic builtin , cat , cd , command , +.Ic echo , false , fc , fg , +.Ic getopts , jobs , kill , let , +.Ic print , pwd , read , realpath , +.Ic rename , sleep , suspend , test , +.Ic true , ulimit , umask , unalias , +.Ic wait , whence .Pp Once the type of command has been determined, any command-line parameter assignments are performed and exported for the duration of the command.