<feed xmlns='http://www.w3.org/2005/Atom'>
<title>zash.git/formal, branch main</title>
<subtitle>Fast Almquist-family POSIX shell for z/OS UNIX with bundled libedit</subtitle>
<id>https://git.abendless.com/zash.git/atom?h=main</id>
<link rel='self' href='https://git.abendless.com/zash.git/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://git.abendless.com/zash.git/'/>
<updated>2026-11-28T06:58:04Z</updated>
<entry>
<title>docs(spec): write down base#number and trimming of each positional</title>
<updated>2026-11-28T06:58:04Z</updated>
<author>
<name>Sean Kurtz</name>
<email>seankurtz75@gmail.com</email>
</author>
<published>2026-11-28T06:58:04Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/zash.git/commit/?id=2e337436a9d48c56b1636d2e3c830eaee5405019'/>
<id>urn:sha1:2e337436a9d48c56b1636d2e3c830eaee5405019</id>
<content type='text'>
Two behaviours the review-2026-11-28 fixes settled and the specification
did not state:

- R-ARI-8: `base#number`, 2 to 64, digits 0-9 a-z A-Z @ _, errors on a
  base out of range, no digits, a digit not in the base and overflow.
  It is an extension, as in bash and ksh93, and the arith-base tests now
  cover it.
- R-EXP-9: `${@#p}` and friends trim each positional parameter before the
  results are joined by the `$@`/`$*` rule, which is what trim-all tests.

Regenerated from formal/zash-spec.typ with typst 0.15.1: the PDF, the HTML
export and (pandoc, plain) zash-spec.txt.  The Lean model is untouched.
</content>
</entry>
<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>feat: select, the ksh88 menu loop</title>
<updated>2026-11-28T03:48:49Z</updated>
<author>
<name>Sean Kurtz</name>
<email>seankurtz75@gmail.com</email>
</author>
<published>2026-11-28T03:48:49Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/zash.git/commit/?id=ced8928b067a3bd3047f7e094eb9d9d575ae9444'/>
<id>urn:sha1:ced8928b067a3bd3047f7e094eb9d9d575ae9444</id>
<content type='text'>
IBM's /bin/sh is of the KornShell line and `select` is part of what its
scripts use, so the shell that replaces it has to have it.  The menu goes
to stderr as "number TAB word", then PS3 (default "#? "); the answer is
read with the rules of `read REPLY`; a number in range picks that word,
anything else leaves the variable empty and the body still runs, a blank
line only prompts again, and end of input ends the loop.

The node is the `for` node with a `menu` flag, since the two differ only
in what the body sees.  tests/zash/select.sh prints the same bytes under
zash and under the CBT /bin/sh; the specification has the rule.
</content>
</entry>
<entry>
<title>docs: the tagging rule as the code does it, and input errors in the spec</title>
<updated>2026-11-27T23:59:21Z</updated>
<author>
<name>Sean Kurtz</name>
<email>seankurtz75@gmail.com</email>
</author>
<published>2026-11-27T23:59:21Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/zash.git/commit/?id=8b4a1936d952dd43929c430e18d4e29f1f91d6b6'/>
<id>urn:sha1:8b4a1936d952dd43929c430e18d4e29f1f91d6b6</id>
<content type='text'>
DESIGN.md's "File tags" table said an ASCII build defers the tag on a `&gt;`
target and takes the first writer's CCSID; sys_zos.c tags a file the shell
creates as IBM-1047 text and converts its own writes, and the paragraph "the
tag follows the writer" now says that deferred tags are the _TAG_REDIR_*
cases only.  The shell's own stdout and stderr are in the table now, and the
reason the inherited conversion is harmless to a binary writer (gzip turns it
off, and tests/zos/tagging.sh checks the archive) is written down.

The specification records what a script reviewer needs: R-LEX-17 no longer
just ends the body at end of input, it says zash does not warn where bash
does, and the new zash-only error rule gives 127/126 for a script that cannot
be opened and 2 for a read error while input is being read.  The PDF is
regenerated.
</content>
</entry>
<entry>
<title>chore: clangd sysroot note, shellcheck header, typst formatting</title>
<updated>2026-11-23T20:38:19Z</updated>
<author>
<name>Sean Kurtz</name>
<email>seankurtz75@gmail.com</email>
</author>
<published>2026-11-23T20:38:19Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/zash.git/commit/?id=bb1245976f10806634d2a60edd6218ecc23c8894'/>
<id>urn:sha1:bb1245976f10806634d2a60edd6218ecc23c8894</id>
<content type='text'>
</content>
</entry>
<entry>
<title>license: MIT OR Apache-2.0 OR BSD-2-Clause</title>
<updated>2026-11-23T20:25:57Z</updated>
<author>
<name>Sean Kurtz</name>
<email>seankurtz75@gmail.com</email>
</author>
<published>2026-11-23T20:25:57Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/zash.git/commit/?id=8011b6d512db77b8a427d72126ba8146d5bc69e2'/>
<id>urn:sha1:8011b6d512db77b8a427d72126ba8146d5bc69e2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge origin/main into docs/logo-and-clean</title>
<updated>2026-11-23T17:50:17Z</updated>
<author>
<name>Sean Kurtz</name>
<email>seankurtz75@gmail.com</email>
</author>
<published>2026-11-23T17:50:17Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/zash.git/commit/?id=b6574b2f3cb86d33d7e55985c7914dfce6dbf296'/>
<id>urn:sha1:b6574b2f3cb86d33d7e55985c7914dfce6dbf296</id>
<content type='text'>
Resolutions: README.md and DESIGN.md keep the new colour logo
(packaging/zash-logo.svg) at width 220; the Makefile keeps main's newer
shellcheck header, lists `make docs` in the usage block, and `clean`
removes docs, cov and $(ZTOOLS) along with the branch's new tools.
</content>
</entry>
<entry>
<title>formal: typeset the spec from a script, and with the new cover</title>
<updated>2026-11-23T17:29:48Z</updated>
<author>
<name>Sean Kurtz</name>
<email>seankurtz75@gmail.com</email>
</author>
<published>2026-11-23T17:29:48Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/zash.git/commit/?id=aacecb3a8593ec0a92809be15b12211befb9e9f5'/>
<id>urn:sha1:aacecb3a8593ec0a92809be15b12211befb9e9f5</id>
<content type='text'>
formal/zash-spec.pdf could not be rebuilt from anything in the tree.
scripts/spec-pdf.sh does it: the typst CLI when present, the Python
package otherwise, with the repository root as typst's root so the cover
can reach ../packaging/zash-logo.svg.  `make spec` runs it.

The PDF is rebuilt from the same source, so the cover carries the new
logo; the page count is unchanged at 27.
</content>
</entry>
<entry>
<title>z/OS: run 31-bit and load IGGCSI00 through the C library</title>
<updated>2026-11-23T17:09:32Z</updated>
<author>
<name>Sean Kurtz</name>
<email>seankurtz75@gmail.com</email>
</author>
<published>2026-11-23T17:09:32Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/zash.git/commit/?id=d1ea4c7f4530e3d1d4689a9d20029a0c1a418df5'/>
<id>urn:sha1:d1ea4c7f4530e3d1d4689a9d20029a0c1a418df5</id>
<content type='text'>
zash was AMODE 64, so calling the AMODE 31 IGGCSI00 needed assembler
glue (zos_csi.s) that switched addressing mode around the branch.  Built
with -m32 the program is 31-bit itself: the call goes through a plain
function pointer, the work area and the saved registers live in one
31-bit block in C, and the glue is gone.

The rest of the tree follows the change: the build, the off-z/OS lint
shim, DESIGN.md and README.md, the benches, the Lean spec of the
pattern matcher, and the tests that recorded what the extra address bits
had changed.
</content>
</entry>
<entry>
<title>typst: fix some issues with formatting around code blocks.</title>
<updated>2026-11-20T22:09:52Z</updated>
<author>
<name>Sean Kurtz</name>
<email>seankurtz75@gmail.com</email>
</author>
<published>2026-11-20T22:09:52Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/zash.git/commit/?id=5be3f32eb22382bfaac55b0c97e7678760872205'/>
<id>urn:sha1:5be3f32eb22382bfaac55b0c97e7678760872205</id>
<content type='text'>
</content>
</entry>
</feed>
