partial oksh sync (RCSID and do add some parenthesēs to the list of

reserved words, but really only these which are only recognised at
the beginning of a line as the context says, not blindly all of them)
This commit is contained in:
tg 2010-07-13 13:12:32 +00:00
parent ad98b9fc4a
commit 6b006202a1
3 changed files with 8 additions and 8 deletions

View File

@ -1,4 +1,4 @@
# $MirOS: src/bin/mksh/check.t,v 1.380 2010/07/11 11:17:29 tg Exp $ # $MirOS: src/bin/mksh/check.t,v 1.381 2010/07/13 13:12:28 tg Exp $
# $OpenBSD: bksl-nl.t,v 1.2 2001/01/28 23:04:56 niklas Exp $ # $OpenBSD: bksl-nl.t,v 1.2 2001/01/28 23:04:56 niklas Exp $
# $OpenBSD: history.t,v 1.5 2001/01/28 23:04:56 niklas Exp $ # $OpenBSD: history.t,v 1.5 2001/01/28 23:04:56 niklas Exp $
# $OpenBSD: read.t,v 1.3 2003/03/10 03:48:16 david Exp $ # $OpenBSD: read.t,v 1.3 2003/03/10 03:48:16 david Exp $
@ -25,7 +25,7 @@
# http://www.research.att.com/~gsf/public/ifs.sh # http://www.research.att.com/~gsf/public/ifs.sh
expected-stdout: expected-stdout:
@(#)MIRBSD KSH R39 2010/07/11 @(#)MIRBSD KSH R39 2010/07/13
description: description:
Check version of shell. Check version of shell.
stdin: stdin:

8
mksh.1
View File

@ -1,5 +1,5 @@
.\" $MirOS: src/bin/mksh/mksh.1,v 1.229 2010/07/13 13:07:56 tg Exp $ .\" $MirOS: src/bin/mksh/mksh.1,v 1.230 2010/07/13 13:12:30 tg Exp $
.\" $OpenBSD: ksh.1,v 1.134 2010/05/10 21:04:54 jmc Exp $ .\" $OpenBSD: ksh.1,v 1.135 2010/07/12 16:26:45 jmc Exp $
.\"- .\"-
.\" Copyright © 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 .\" Copyright © 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
.\" Thorsten Glaser <tg@mirbsd.org> .\" Thorsten Glaser <tg@mirbsd.org>
@ -595,8 +595,8 @@ are only recognised if they are unquoted and if they are used as the first
word of a command (i.e. they can't be preceded by parameter assignments or word of a command (i.e. they can't be preceded by parameter assignments or
redirections): redirections):
.Bd -literal -offset indent .Bd -literal -offset indent
case else function then ! case else function then ! (
do esac if time [[ do esac if time [[ ((
done fi in until { done fi in until {
elif for select while } elif for select while }
.Ed .Ed

4
sh.h
View File

@ -150,9 +150,9 @@
#endif #endif
#ifdef EXTERN #ifdef EXTERN
__RCSID("$MirOS: src/bin/mksh/sh.h,v 1.396 2010/07/11 11:17:32 tg Exp $"); __RCSID("$MirOS: src/bin/mksh/sh.h,v 1.397 2010/07/13 13:12:32 tg Exp $");
#endif #endif
#define MKSH_VERSION "R39 2010/07/11" #define MKSH_VERSION "R39 2010/07/13"
#ifndef MKSH_INCLUDES_ONLY #ifndef MKSH_INCLUDES_ONLY