oksh-noxz

[fork] Portable OpenBSD ksh, based on the Public Domain Korn Shell (pdksh).
git clone https://noxz.tech/git/oksh-noxz.git
oksh-noxz

commit: 9756b4f29712c07b7c9eb9b78a83db39c5b6c5ca
parent: 4253ca89387918e0945e980144cbb17a1f3f7d14
author: Brian Callahan <bcallah@openbsd.org>
date:   Sun, 7 Apr 2024 08:59:18 -0400
oksh-7.5
MCVS/Entries58++++++++++----------
MREADME.md4+-
Mmain.c2+-
Msh.16+-
4 files changed, 35 insertions(+), 35 deletions(-)
diff --git a/CVS/Entries b/CVS/Entries
@@ -5,42 +5,42 @@
 /vi.c/1.60/Result of merge+Fri Mar 12 03:48:27 2021//
 /tty.c/1.19/Result of merge//
 /misc.c/1.78/Result of merge//
-/CONTRIBUTORS/1.11/Thu Aug  3 22:00:56 2023//
-/LEGAL/1.2/Thu Aug  3 22:00:56 2023//
-/NOTES/1.16/Thu Aug  3 22:00:56 2023//
-/PROJECTS/1.9/Thu Aug  3 22:00:56 2023//
-/alloc.c/1.19/Thu Aug  3 22:00:56 2023//
-/c_ksh.c/1.62/Thu Aug  3 22:00:56 2023//
 /c_test.c/1.28/Result of merge//
-/c_test.h/1.4/Thu Aug  3 22:00:56 2023//
-/c_ulimit.c/1.29/Thu Aug  3 22:00:56 2023//
 /edit.c/1.70/Result of merge//
-/edit.h/1.13/Thu Aug  3 22:25:58 2023//
 /emacs.c/1.90/Result of merge//
 /eval.c/1.67/Result of merge//
 /exec.c/1.77/Result of merge//
-/expand.h/1.15/Thu Aug  3 22:00:56 2023//
-/expr.c/1.34/Thu Aug  3 22:00:56 2023//
-/jobs.c/1.62/Thu Aug  3 22:00:56 2023//
-/lex.c/1.79/Thu Aug  3 22:00:56 2023//
-/lex.h/1.21/Thu Aug  3 22:00:56 2023//
-/mail.c/1.27/Thu Aug  3 22:00:56 2023//
 /main.c/1.100/Result of merge//
-/path.c/1.23/Thu Aug  3 22:00:56 2023//
-/sh.1/1.157/Thu Aug  3 22:25:58 2023//
 /sh.h/1.77/Result of merge//
-/shf.c/1.34/Thu Aug  3 22:00:56 2023//
-/shf.h/1.8/Thu Aug  3 22:00:56 2023//
-/syn.c/1.40/Thu Aug  3 22:00:56 2023//
-/table.c/1.25/Thu Aug  3 22:00:56 2023//
-/table.h/1.15/Thu Aug  3 22:00:56 2023//
-/tree.c/1.34/Thu Aug  3 22:00:56 2023//
-/tree.h/1.12/Thu Aug  3 22:00:56 2023//
-/tty.h/1.6/Thu Aug  3 22:00:56 2023//
 /var.c/1.73/Result of merge//
-/version.c/1.12/Thu Aug  3 22:00:56 2023//
-/Makefile/1.39/Sun Nov 19 00:26:55 2023//
-/README/1.16/Sun Nov 19 00:26:55 2023//
 /c_sh.c/1.65/Sun Nov 19 00:26:55 2023//
-/ksh.1/1.220/Sun Nov 19 00:26:55 2023//
+/CONTRIBUTORS/1.11/Sat Dec 16 01:28:12 2023//
+/LEGAL/1.2/Sat Dec 16 01:28:12 2023//
+/Makefile/1.39/Sun Apr  7 12:58:14 2024//
+/NOTES/1.16/Sat Dec 16 01:28:12 2023//
+/PROJECTS/1.9/Sat Dec 16 01:28:12 2023//
+/README/1.16/Sun Apr  7 12:58:15 2024//
+/alloc.c/1.19/Sat Dec 16 01:28:12 2023//
+/c_ksh.c/1.62/Sat Dec 16 01:28:12 2023//
+/c_test.h/1.4/Sat Dec 16 01:28:12 2023//
+/c_ulimit.c/1.29/Sat Dec 16 01:28:12 2023//
+/edit.h/1.13/Sat Dec 16 01:28:12 2023//
+/expand.h/1.15/Sat Dec 16 01:28:12 2023//
+/expr.c/1.34/Sat Dec 16 01:28:12 2023//
+/jobs.c/1.62/Sat Dec 16 01:28:12 2023//
+/ksh.1/1.220/Sat Dec 16 01:28:12 2023//
+/lex.c/1.79/Sat Dec 16 01:28:12 2023//
+/lex.h/1.21/Sat Dec 16 01:28:12 2023//
+/mail.c/1.27/Sat Dec 16 01:28:12 2023//
+/path.c/1.23/Sat Dec 16 01:28:12 2023//
+/sh.1/1.158/Sun Apr  7 12:58:15 2024//
+/shf.c/1.34/Sat Dec 16 01:28:12 2023//
+/shf.h/1.8/Sat Dec 16 01:28:12 2023//
+/syn.c/1.40/Sat Dec 16 01:28:12 2023//
+/table.c/1.25/Sat Dec 16 01:28:12 2023//
+/table.h/1.15/Sat Dec 16 01:28:12 2023//
+/tree.c/1.34/Sat Dec 16 01:28:12 2023//
+/tree.h/1.12/Sat Dec 16 01:28:12 2023//
+/tty.h/1.6/Sat Dec 16 01:28:12 2023//
+/version.c/1.12/Sat Dec 16 01:28:12 2023//
 D
diff --git a/README.md b/README.md
@@ -141,5 +141,5 @@ for details.
 
 Get a tarball
 -------------
-See releases tab. The latest release is oksh-7.4, which matches the ksh(1)
-from OpenBSD 7.4, released October 16, 2023.
+See releases tab. The latest release is oksh-7.5, which matches the ksh(1)
+from OpenBSD 7.5, released April 5, 2024.
diff --git a/main.c b/main.c
@@ -312,7 +312,7 @@ main(int argc, char *argv[])
 #ifndef SMALL
 	/* setstr can't fail here */
 	setstr(global(version_param), ksh_version, KSH_RETURN_ERROR);
-	setstr(global("OKSH_VERSION"), "oksh 7.4", KSH_RETURN_ERROR);
+	setstr(global("OKSH_VERSION"), "oksh 7.5", KSH_RETURN_ERROR);
 #endif /* SMALL */
 
 	/* execute initialization statements */
diff --git a/sh.1 b/sh.1
@@ -1,4 +1,4 @@
-.\"	$OpenBSD: sh.1,v 1.157 2023/05/13 18:34:49 jmc Exp $
+.\"	$OpenBSD: sh.1,v 1.158 2024/03/06 06:26:22 jmc Exp $
 .\"
 .\" Copyright (c) 2015 Jason McIntyre <jmc@openbsd.org>
 .\"
@@ -14,7 +14,7 @@
 .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
 .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 .\"
-.Dd $Mdocdate: May 13 2023 $
+.Dd $Mdocdate: March 6 2024 $
 .Dt SH 1
 .Os
 .Sh NAME
@@ -2140,7 +2140,7 @@ before each command is traced
 option).
 The default is
 .Sq +\ \& .
-.It PWD
+.It Ev PWD
 The absolute pathname to the current working directory.
 .El
 .Sh ASYNCHRONOUS EVENTS