Skip to content

docs: README style pass (minimal, fact-preserving) - #495

Merged
caomengxuan666 merged 1 commit into
masterfrom
docs/readline-style
Oct 10, 2026
Merged

caomengxuan666 merged 1 commit into
masterfrom
docs/readline-style

Conversation

@caomengxuan666

Copy link
Copy Markdown
Member

What this does

Style-only revision of README.md and README.zh-CN.md, done under a strict "style, not facts" constraint. Both files were audited against AI-writing patterns (hollow intensifiers, template phrases, redundant doublings, corporate-buzzword register, garbled word order) and turned out to be largely clean — dense, specific, fact-forward prose — so the diff is deliberately tiny: 4 lines changed across 2 files.

README.md (1 change)

  • Line 21: receives its argv **verbatim**, exactly as typed → receives its argv **verbatim** — "exactly as typed" says the same thing as "verbatim"; redundant doubling.

README.zh-CN.md (3 changes)

  • 核心调试闭环 → 核心调试循环 — "闭环" is Chinese corporate-buzzword register; the English source says "debugger loop", which is 调试循环.
  • 业主编译于 /usr/local/bin/bash → 项目所有者编译,位于 /usr/local/bin/bash — "业主" is the property-management sense of "owner"; the source term "owner-compiled" (also used in docs/PROVENANCE.md) means the repo owner compiled it.
  • GNU Bash acknowledgement line: fixed garbled word order — 其可观测行为定义了我们兼容性目标的参考实现 → 参考实现,其可观测行为定义了我们的兼容性目标 (matches EN: "the reference implementation whose observable behavior defines our compatibility target").

Verification

  • Full diff reviewed line by line: no command, flag, version, number, performance figure, link, or code block touched (MSYS_NO_PATHCONV=1, __RUBASH_ARGV_DIALECT=legacy, all 83/82 suite figures, bashdb URL all intact).
  • Intentionally left alone: em-dash house style, bold lead-in labels, **Measured, not claimed**, the punchy voice ("fake it at the syscall level", "账本随行", "主战场"), and "honest-native" (established repo terminology) — these are voice, not AI filler.

Not fixed here (content, out of scope for a style pass) — flagging for a follow-up

While auditing, I noticed the zh README has diverged content-wise from the English one:

  1. The zh "路径" paragraph (README.zh-CN.md line 21) still describes the pre-Option-B uniform-translation model ("POSIX 风格和 WSL 风格的路径都接受输入、解析成真实的 Windows 路径"), while the English README describes the current per-child dialect contract and mentions __RUBASH_ARGV_DIALECT=legacy — which is exactly the behavior the zh paragraph describes as current.
  2. The zh README lacks the "Identity and Compatibility (rubash#154)" section entirely.
  3. The zh README lacks the "Beyond the GNU suite" evaluation table (modernish, mvdan/sh, ble.sh, bash-completion, oh-my-bash, nvm.sh, etc.).

Syncing those is a translation/content task, so it was left out of this PR per the "architecture descriptions keep their original meaning" constraint.

Fact-preserving wording cleanup only; no command, number, link, or
code-block changes.

- README.md: drop the redundant 'exactly as typed' after 'verbatim'
- README.zh-CN.md: use correct Chinese terms and word order
  - 调试闭环 -> 调试循环 (闭环 is corporate-buzzword register; EN says
    'debugger loop')
  - 业主编译于 -> 项目所有者编译,位于 (业主 is property-management
    register, a calque of 'owner-compiled')
  - GNU Bash acknowledgement line: fix garbled word order so it reads
    as 'reference implementation whose observable behavior defines our
    compatibility target'
@caomengxuan666
caomengxuan666 merged commit 7be6a79 into master Oct 10, 2026
7 of 8 checks passed
@caomengxuan666
caomengxuan666 deleted the docs/readline-style branch October 10, 2026 06:55
caomengxuan666 added a commit that referenced this pull request Oct 10, 2026
…m-down, notes draft) (#498)

- Cargo.toml: version 1.3.4 -> 1.4.0 (crates.io latest published is 1.2.0)
- CHANGELOG: regroup the Unreleased section into a 1.4.0 section
  (新增/修复/性能/平台/构建/文档), folding in the merged PR batch
  #453-#495 plus the #460-#465 issue fixes, deduplicated
- packaging: exclude tests/ and third_party/ from the published crate —
  2053 files / 15.6 MB -> 400 files / 8.9 MB unpacked, back under the
  crates.io 10 MiB cap; compile verified via cargo publish --dry-run
- docs: bilingual release-notes draft at docs/release-notes-1.4.0-draft.md
caomengxuan666 added a commit that referenced this pull request Oct 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant