sync with oksh (comments and docs only)
This commit is contained in:
parent
faaa517636
commit
f872c5d941
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: history.c,v 1.37 2009/07/02 16:29:15 martynas Exp $ */
|
||||
/* $OpenBSD: history.c,v 1.38 2010/05/01 21:09:23 guenther Exp $ */
|
||||
/* $OpenBSD: trap.c,v 1.22 2005/03/30 17:16:37 deraadt Exp $ */
|
||||
|
||||
/*-
|
||||
@ -26,7 +26,7 @@
|
||||
#include <sys/file.h>
|
||||
#endif
|
||||
|
||||
__RCSID("$MirOS: src/bin/mksh/histrap.c,v 1.92 2010/01/29 09:34:28 tg Exp $");
|
||||
__RCSID("$MirOS: src/bin/mksh/histrap.c,v 1.93 2010/05/13 18:44:09 tg Exp $");
|
||||
|
||||
/*-
|
||||
* MirOS: This is the default mapping type, and need not be specified.
|
||||
@ -416,7 +416,7 @@ hist_get_newest(bool allow_cur)
|
||||
return (allow_cur ? histptr : histptr - 1);
|
||||
}
|
||||
|
||||
/* Return a pointer to the newest command in the history */
|
||||
/* Return a pointer to the oldest command in the history */
|
||||
static char **
|
||||
hist_get_oldest(void)
|
||||
{
|
||||
|
9
mksh.1
9
mksh.1
@ -1,5 +1,5 @@
|
||||
.\" $MirOS: src/bin/mksh/mksh.1,v 1.224 2010/04/09 18:59:30 tg Exp $
|
||||
.\" $OpenBSD: ksh.1,v 1.132 2010/03/27 09:10:01 jmc Exp $
|
||||
.\" $MirOS: src/bin/mksh/mksh.1,v 1.225 2010/05/13 18:44:10 tg Exp $
|
||||
.\" $OpenBSD: ksh.1,v 1.134 2010/05/10 21:04:54 jmc Exp $
|
||||
.\"-
|
||||
.\" Copyright © 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
|
||||
.\" Thorsten Glaser <tg@mirbsd.org>
|
||||
@ -71,7 +71,7 @@
|
||||
.\" with -mandoc, it might implement .Mx itself, but we want to
|
||||
.\" use our own definition. And .Dd must come *first*, always.
|
||||
.\"
|
||||
.Dd $Mdocdate: April 9 2010 $
|
||||
.Dd $Mdocdate: May 13 2010 $
|
||||
.\"
|
||||
.\" Check which macro package we use
|
||||
.\"
|
||||
@ -4717,6 +4717,9 @@ With
|
||||
.Ar parameter Ns [*] ,
|
||||
attributes are kept, only values are unset.
|
||||
.Pp
|
||||
The exit status is non-zero if any of the parameters have the read-only
|
||||
attribute set, zero otherwise.
|
||||
.Pp
|
||||
.It Ic wait Op Ar job ...
|
||||
Wait for the specified job(s) to finish.
|
||||
The exit status of
|
||||
|
Loading…
Reference in New Issue
Block a user