Skip to content

fix(expr,comm,join,seq,tac): winx4-text batch (#1349/#1354/#1356/#1361) - #1398

Merged
caomengxuan666 merged 6 commits into
mainfrom
fix/winx4-text
Oct 27, 2026
Merged

caomengxuan666 merged 6 commits into
mainfrom
fix/winx4-text

Conversation

@caomengxuan666

Copy link
Copy Markdown
Member

Text-command fixes from the winx4-text cluster (one commit per issue, regression pins included in each):

  • 9787a59 expr: a non-null left operand is now the result of | (GNU expr.c semantics)
  • 1db16aa comm/join: lines are byte-exact keys and output — CR normalization and BOM stripping removed
  • 6d9d2a5 seq: bundled short options parsed by a per-character getopt walk
  • fd1c98c tac: separator regex dialect flipped Extended -> Basic

Fixes #1349
Fixes #1354
Fixes #1356
Fixes #1361

Verification status: NOT binary-verified. No binary was built on this branch. The binary verification debt sits with the WinuxCmd integration window: build the mini harness and run probes.sh (in the cluster workspace) — every case must MATCH GNU coreutils 9.4 byte-exact, including the four CRLF guard cases. Do not mark ready / merge until the window's probes pass.

The 30 harness .cppm shim files (local-patches.txt) were deliberately NOT committed; they remain in the cluster working tree only, for the harness build.

No i18n sync is owed for this line (no user-visible strings added or changed).

caomengxuan666 and others added 2 commits October 27, 2026 11:58
- `-wf%03g` correctly drives seq into GNU's format/equal-width conflict
  diagnostic — the bundle walk itself is proven by the error; GNU
  rejects the -w+-f combination outright.
- An unknown bundled member is reported in GNU getopt spelling
  ("invalid option -- 'z'"), which is what the shared parser emits.

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@caomengxuan666

Copy link
Copy Markdown
Member Author

Verified post-merge (c2c5008 + fixup 6af72f3): MSVC Debug build green; ctest 3241 — residuals are the same 11 environment-bound failures as clean origin/main (LongPathsEnabled=0, CONIN$). Two branch-side seq tests were corrected to GNU semantics: -w+-f is a real GNU conflict diagnostic, and unknown bundled members report in getopt spelling (invalid option -- 'z'). No i18n catalog delta vs main.

@caomengxuan666
caomengxuan666 marked this pull request as ready for review October 27, 2026 04:13
@caomengxuan666
caomengxuan666 merged commit 5dfe1d3 into main Oct 27, 2026
7 of 8 checks passed
@caomengxuan666
caomengxuan666 deleted the fix/winx4-text branch October 27, 2026 07:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant