From bb5820b8e961d899d617be0a832ab7825dd96410 Mon Sep 17 00:00:00 2001 From: jmc Date: Sun, 17 Aug 2014 07:15:41 +0000 Subject: [PATCH] update the built-ins list: - "times" is both promoted to posix and special (ooh!) - "pwd" is promoted to posix, but not special (aah!) while here, jiggle the text somewhat to clarify that "non-POSIX" actually meant when posix mode is off, not mandated by posix joint work with guenther --- bin/ksh/ksh.1 | 16 ++++++++-------- bin/ksh/sh.1 | 14 +++++++------- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/bin/ksh/ksh.1 b/bin/ksh/ksh.1 index 9759e8a5a8b..cf1b00bc789 100644 --- a/bin/ksh/ksh.1 +++ b/bin/ksh/ksh.1 @@ -1,8 +1,8 @@ -.\" $OpenBSD: ksh.1,v 1.152 2014/02/12 16:28:13 schwarze Exp $ +.\" $OpenBSD: ksh.1,v 1.153 2014/08/17 07:15:41 jmc Exp $ .\" .\" Public Domain .\" -.Dd $Mdocdate: February 12 2014 $ +.Dd $Mdocdate: August 17 2014 $ .Dt KSH 1 .Os .Sh NAME @@ -2714,16 +2714,16 @@ POSIX special commands .Ic \&. , \&: , break , continue , .Ic eval , exec , exit , export , .Ic readonly , return , set , shift , -.Ic trap , unset +.Ic times , trap , unset .Pp Additional .Nm special commands .Pp -.Ic builtin , times , typeset +.Ic builtin , typeset .Pp Very special commands -.Pq non-POSIX +.Pq when POSIX mode is off .Pp .Ic alias , readonly , set , typeset .Pp @@ -2731,15 +2731,15 @@ POSIX regular commands .Pp .Ic alias , bg , cd , command , .Ic false , fc , fg , getopts , -.Ic jobs , kill , read , true , -.Ic umask , unalias , wait +.Ic jobs , kill , pwd , read , +.Ic true , umask , unalias , wait .Pp Additional .Nm regular commands .Pp .Ic \&[ , echo , let , mknod , -.Ic print , pwd , suspend , test , +.Ic print , suspend , test , .Ic ulimit , whence .Pp In the future, the additional diff --git a/bin/ksh/sh.1 b/bin/ksh/sh.1 index afa00b08992..d2abc5b26fd 100644 --- a/bin/ksh/sh.1 +++ b/bin/ksh/sh.1 @@ -1,8 +1,8 @@ -.\" $OpenBSD: sh.1,v 1.96 2014/02/12 16:28:13 schwarze Exp $ +.\" $OpenBSD: sh.1,v 1.97 2014/08/17 07:15:41 jmc Exp $ .\" .\" Public Domain .\" -.Dd $Mdocdate: February 12 2014 $ +.Dd $Mdocdate: August 17 2014 $ .Dt SH 1 .Os .Sh NAME @@ -2199,16 +2199,16 @@ POSIX special commands .Ic \&. , \&: , break , continue , .Ic eval , exec , exit , export , .Ic readonly , return , set , shift , -.Ic trap , unset +.Ic times , trap , unset .Pp Additional .Nm special commands .Pp -.Ic builtin , times , typeset +.Ic builtin , typeset .Pp Very special commands -.Pq non-POSIX +.Pq when POSIX mode is off .Pp .Ic alias , readonly , set , typeset .Pp @@ -2216,8 +2216,8 @@ POSIX regular commands .Pp .Ic alias , bg , cd , command , .Ic false , fc , fg , getopts , -.Ic jobs , kill , read , true , -.Ic umask , unalias , wait +.Ic jobs , kill , pwd , read , +.Ic true , umask , unalias , wait .Pp Additional .Nm -- 2.20.1