The following is quoted from Marcin Cieślak [*]:
When running under FreeBSD /bin/sh (and not ksh) we get spurious
file named '=' created in the root. This is because the "checksh"
function runs /bin/sh -c '(( .sh.version >= 20111111 ))' which
produces a "=" file with /bin/sh as a side effect.
Fixes https://github.com/ksh93/ksh/issues/13
bin/package,
src/cmd/INIT/package.sh:
- Fix the creation of a spurious '=' file by making sure the shell
has support for (( ... )) expressions.
.gitignore:
- Remove the '=' file entry since it no longer has a purpose.
[*]: https://bsd.network/@saper/103196289917156347
This commit reboots ksh 93u+m development with a new fork based off
the archived official AT&T ast repo, master branch.
README:
- Removed. Having two READMEs is a botch.
README.md:
- Imported and edited from the archived fork,
https://github.com/modernish/ksh -- the newer instructions will
become applicable as I cherry-pick all the changes from there :)
- Copy-edits.
- Added policy and rationale for this 93u+m fork.
- Incorporated info from old README that is still relevant.
.gitignore:
- Added.
bin/execrate:
- Removed. This one keeps changing its license header, causing git
to show an uncommitted file. It's always re-copied anyway, and
not for direct invocation, so, exclude and add to .gitignore.
The source file is: src/cmd/INIT/execrate.sh
src/cmd/*,
src/lib/*:
- Remove historical baggage: everything except ksh93 and
dependencies. This is the same stuff the ksh-community fork
removed. I wouldn't mind keeping it, but some of this stuff
causes build failures on macOS (and probably other systems), and
I need to get on with fixing ksh93.
Hopefully, we can figure out how to re-add stuff we can use
later -- particularly the pty command (pseudo-terminal utility
for scripting interactive sessions) which is needed for
regression-testing the interactive shell.