From cb1688f0233d53cfca8078f812c824213a5617fd Mon Sep 17 00:00:00 2001 From: Sean Kurtz Date: Sat, 28 Nov 2026 00:07:39 -0600 Subject: wip: vi external edit and dot-repeat, in-process cd subshell, perf test 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. --- tests/scripts/webdocs.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/scripts/webdocs.sh') diff --git a/tests/scripts/webdocs.sh b/tests/scripts/webdocs.sh index fc4c14e..ce71193 100644 --- a/tests/scripts/webdocs.sh +++ b/tests/scripts/webdocs.sh @@ -31,9 +31,9 @@ for d in README:40:README DESIGN:50:Design; do fi # The site has a logo, its own contents list and the title, so the - # document's must be gone. + # document's must be gone. A `#` inside a code block is not a title. if grep -q 'align="center"' "$page" || grep -q '^## Contents$' "$page" || - grep -q '^# ' "$page"; then + sed '/^```/,/^```/d' "$page" | grep -q '^# '; then echo "$name header, contents or title still there WRONG" else echo "$name header, contents and title dropped ok" -- cgit