diff options
| author | Sean Kurtz <seankurtz75@gmail.com> | 2026-11-28 00:58:04 -0600 |
|---|---|---|
| committer | Sean Kurtz <seankurtz75@gmail.com> | 2026-11-28 00:58:04 -0600 |
| commit | 2e337436a9d48c56b1636d2e3c830eaee5405019 (patch) | |
| tree | 3a5e8afe5551c86093170f10906e57432f85b07b /src/printf.c | |
| parent | d60c99985c1c4e058dd2de7e6272ef4d48a14686 (diff) | |
| download | zash-2e337436a9d48c56b1636d2e3c830eaee5405019.tar.gz | |
docs(spec): write down base#number and trimming of each positional
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.
Diffstat (limited to 'src/printf.c')
0 files changed, 0 insertions, 0 deletions
