<feed xmlns='http://www.w3.org/2005/Atom'>
<title>zash.git/tests/proc, branch v0.5.0-beta</title>
<subtitle>Fast Almquist-family POSIX shell for z/OS UNIX with bundled libedit</subtitle>
<id>https://git.abendless.com/zash.git/atom?h=v0.5.0-beta</id>
<link rel='self' href='https://git.abendless.com/zash.git/atom?h=v0.5.0-beta'/>
<link rel='alternate' type='text/html' href='https://git.abendless.com/zash.git/'/>
<updated>2026-11-28T06:08:16Z</updated>
<entry>
<title>wip: vi external edit and dot-repeat, in-process cd subshell, perf test</title>
<updated>2026-11-28T06:08:16Z</updated>
<author>
<name>Sean Kurtz</name>
<email>seankurtz75@gmail.com</email>
</author>
<published>2026-11-28T06:07:39Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/zash.git/commit/?id=cb1688f0233d53cfca8078f812c824213a5617fd'/>
<id>urn:sha1:cb1688f0233d53cfca8078f812c824213a5617fd</id>
<content type='text'>
The working tree the 2026-11-28 review was written against, committed
unchanged so the review fixes can sit on top of it.

- vi mode: `v` edits the line in $VISUAL, else $EDITOR (edit_external),
  and `.` repeats the last change, count and all.
- `( cd dir )` runs in-process with the directory saved and restored,
  instead of forking, and its invalidation of the cached logical cwd.
- tests/perf: a start-up cost guard; tests/run.sh runs that directory.
- README: set +o pipetag for ASCII builds.
- formal/zash-spec.txt regenerated as text.
- .clang-tidy: two checks re-enabled (no findings after the change).
- tests/scripts/webdocs: a `#` inside a fenced block is not a title.
</content>
</entry>
<entry>
<title>exec: run a subshell in process when its body cannot change anything</title>
<updated>2026-11-19T23:37:25Z</updated>
<author>
<name>Sean Kurtz</name>
<email>seankurtz75@gmail.com</email>
</author>
<published>2026-11-19T23:37:25Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/zash.git/commit/?id=f5f5683fc23876e66bdf31ba72ce6df3d430fc1b'/>
<id>urn:sha1:f5f5683fc23876e66bdf31ba72ce6df3d430fc1b</id>
<content type='text'>
A `fork()` copies the address space on z/OS, where a `spawn()` can share
it.  The subshell row measured 4.7 ms a turn there against 0.3 ms for an
external command, and ksh88 does not fork for `( : )` at all.

The pipeline stage check already answered the safety question with
is_pure(), so a subshell whose body is one output-only builtin with no
redirections and no assignments reuses the answer and runs in the shell.
Expansion of the arguments is wrapped in the same capture scope a
pipeline stage uses, so ${x=1} no longer escapes.

Co-authored-by: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>Tests and benchmarks for the extensions and the interactive layer</title>
<updated>2026-11-13T02:24:40Z</updated>
<author>
<name>Sean Kurtz</name>
<email>seankurtz75@gmail.com</email>
</author>
<published>2026-11-13T02:24:40Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/zash.git/commit/?id=7ba635888bfcc75e6c424c9614b42d585c22171e'/>
<id>urn:sha1:7ba635888bfcc75e6c424c9614b42d585c22171e</id>
<content type='text'>
New zash/ tests for each extension, a proc/ test showing they create no
processes, and linux/i-*.sh tests that drive the interactive shell on a
pseudo-terminal (tests/tools/ptydrive.py; skipped without python3).
The runner counts exit status 77 as "skipped".  Adds a benchmark for
the arithmetic commands and removes a stray file from tests/posix.
</content>
</entry>
<entry>
<title>zash: scripting core, test suite and benchmarks</title>
<updated>2026-11-12T17:42:49Z</updated>
<author>
<name>Sean Kurtz</name>
<email>seankurtz75@gmail.com</email>
</author>
<published>2026-11-12T17:42:49Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/zash.git/commit/?id=c3b270f82dd62a56e9d75cdd652c55a694a2da64'/>
<id>urn:sha1:c3b270f82dd62a56e9d75cdd652c55a694a2da64</id>
<content type='text'>
A clean-slate POSIX shell for z/OS UNIX in the Almquist tradition, written
in C23 for Clang (Linux) and IBM Open XL C/C++ (z/OS).

- Parser, expansion, arithmetic, redirection, traps and builtins.
- Spawn-first execution: fd plans instead of fork+dup2, in-shell pure
  builtins for pipelines and command substitution, $(a | b) without a
  subshell.
- Flat .POSIX Makefile; asan, valgrind, bench, compdb and z/OS targets.
- Tests: posix (dash-generated), zash, process accounting, linux, zos.

Nothing has been compiled or run on z/OS yet.
</content>
</entry>
</feed>
