# Libx GNU diffutils 3.12 Comparison and Merging — Overview and Chapters 1–18
# Libx GNU diffutils 3.12 比較とマージ — 概要・第1〜18章

GNU diffutils 3.12の概要と第1〜18章全文を、109ページの英語原文と独立・非公式の日本語訳で提供します。付録・索引は、固定した原英語マニュアル全文と原Texinfo・Infoで参照できます。GNU diffutils本体や掲載例は実行せず、静的なテキストとして提供します。

The complete Overview and chapters 1–18 are provided in 109 English pages and an independent, unofficial Japanese translation. Appendices and indexes are available in the fixed complete English manual and original Texinfo/Info. GNU diffutils and its examples are not run.

## 原著と利用条件 / Original and terms

- Original title: Comparing and Merging Files; GNU Diffutils version 3.12; document revision 12 January 2025; release 8 April 2025.
- Original authors: David MacKenzie, Paul Eggert and Richard Stallman. Original publisher: Free Software Foundation.
- Copyright © 1992–1994, 1998, 2001–2002, 2004, 2006, 2009–2025 Free Software Foundation, Inc.
- Original documentation is available under the GNU Free Documentation License, Version 1.3 or any later version, with no Invariant Sections, no Front-Cover Texts and no Back-Cover Texts.
- Modified title: Libx GNU diffutils 3.12 Comparison and Merging — Overview and Chapters 1–18 / Libx GNU diffutils 3.12 比較とマージ — 概要・第1〜18章. Modification author and publisher: Libx; modified 7 October 2026.
- Copyright © 2026 Libx, for editing and independent Japanese translation. Modified documentation is available under the same GFDL 1.3-or-later conditions. No new Invariant Sections or Cover Texts are added.
- 原著の著作権・許諾・著作者・履歴・原英語GFDL全文を保持します。ライセンス自体の日本語訳は提供していません。ソフトウェアのGPL等の通知は未変更の原著配布物と原稿に保持します。共有Libxファイルには既存の通知・条件が適用されます。

Original sources: [GNU diffutils](https://www.gnu.org/software/diffutils/), [official manual](https://www.gnu.org/software/diffutils/manual/), [maintainer's release announcement](https://lists.gnu.org/archive/html/info-gnu/2025-04/msg00005.html). The fixed archive was acquired through the [GNU mirror at ibiblio](https://mirrors.ibiblio.org/gnu/diffutils/diffutils-3.12.tar.gz); its SHA256 agrees with the maintainer's published checksum. No signature verification is claimed. Acquisition date: 6 October 2026, distinct from document revision and release date.

固定配布物SHA256 / fixed archive SHA256:

```
5be181b27ec38aad2450080661a64e4a1752bb29b7d5052bf0a02a70f623f9b2
```

## 編集可能な原稿 / Preferred editable sources

- [固定した原英語マニュアル全文 / fixed complete English manual](https://libx.dev/docs/gnu-diffutils/source/v3-12/manual.html)
- [原著GFDL全文 / original English GFDL](https://libx.dev/docs/gnu-diffutils/source/v3-12/manual.html#Copying-This-Manual)
- [未変更の原著ソース配布物 / unchanged original source archive](https://libx.dev/docs/gnu-diffutils/source/v3-12/original/diffutils-3.12.tar.gz)
- [原Texinfo / original Texinfo](https://libx.dev/docs/gnu-diffutils/source/v3-12/original/doc/diffutils.texi)
- [原Info / original Info](https://libx.dev/docs/gnu-diffutils/source/v3-12/original/doc/diffutils.info)
- [原英語GFDL Texinfo / original GFDL Texinfo](https://libx.dev/docs/gnu-diffutils/source/v3-12/original/doc/fdl.texi)
- [Libxの編集用原稿・再生成キット / editable source and rebuild kit](https://libx.dev/docs/gnu-diffutils/source/v3-12/source.zip)

`edited/en/01-guide/`と`edited/ja/01-guide/`には配信に使用する原文・訳文のMarkdown原稿があり、`edited/en/02-reference/01-gfdl.md`には原英語GFDL参照ページがあります。同じ193原稿と優先編集入力を`source.zip`に収録しています。Markdown内のHTMLはテキストエディターで編集できます。改行・タブの数値文字参照はコードの空白と変数の斜体を保持します。

The kit contains the unchanged original Texinfo/Info/notices/archive, the fixed complete English manual, all 193 editable Markdown documents, translation units and independent Japanese translation JSON, conversion helpers, and app/shared files required to rebuild. It excludes installed dependencies, generated build output, host operation progress, and a recursive copy of `source.zip`. `SOURCE_COMPONENTS.json` records each member's SHA256 and byte length.

## 再生成 / Regeneration

展開した`workspace/`を作業ディレクトリーとします。確認環境はNode.js 24.19.0、pnpm 10.10.0、GNU Texinfo（makeinfo）7.1、PythonとBeautifulSoup 4.13.3です。同梱のlockfileで依存バージョンを固定します。

```
pnpm install --frozen-lockfile --ignore-scripts
python3 docs/notes/document-import/gnu-diffutils/v3-12/regenerate-en.py
python3 docs/notes/document-import/gnu-diffutils/v3-12/extract-units.py
python3 docs/notes/document-import/gnu-diffutils/v3-12/regenerate-ja.py
node docs/notes/document-import/gnu-diffutils/v3-12/check-content.mjs
python3 docs/notes/document-import/gnu-diffutils/v3-12/updates/2026-10-07-chapters-5-9/prepare-drafts.py
python3 docs/notes/document-import/gnu-diffutils/v3-12/updates/2026-10-07-chapters-5-9/extract-units.py
python3 docs/notes/document-import/gnu-diffutils/v3-12/updates/2026-10-07-chapters-5-9/render-drafts.py
export LIBX_UPDATE_WORKSPACE="$PWD"
python3 docs/notes/document-import/gnu-diffutils/v3-12/updates/2026-10-07-chapters-5-9/apply-update.py
python3 docs/notes/document-import/gnu-diffutils/v3-12/updates/2026-10-07-chapters-5-9/prepare-context.py
python3 docs/notes/document-import/gnu-diffutils/v3-12/updates/2026-10-07-chapter-10/prepare-drafts.py
python3 docs/notes/document-import/gnu-diffutils/v3-12/updates/2026-10-07-chapter-10/extract-units.py
python3 docs/notes/document-import/gnu-diffutils/v3-12/updates/2026-10-07-chapter-10/render-drafts.py
python3 docs/notes/document-import/gnu-diffutils/v3-12/updates/2026-10-07-chapter-10/apply-update.py
python3 docs/notes/document-import/gnu-diffutils/v3-12/updates/2026-10-07-chapter-10/prepare-context.py
python3 docs/notes/document-import/gnu-diffutils/v3-12/updates/2026-10-07-chapters-11-15/prepare-drafts.py
python3 docs/notes/document-import/gnu-diffutils/v3-12/updates/2026-10-07-chapters-11-15/extract-units.py
python3 docs/notes/document-import/gnu-diffutils/v3-12/updates/2026-10-07-chapters-11-15/render-drafts.py
python3 docs/notes/document-import/gnu-diffutils/v3-12/updates/2026-10-07-chapters-11-15/apply-update.py
python3 docs/notes/document-import/gnu-diffutils/v3-12/updates/2026-10-07-chapters-11-15/prepare-context.py
python3 docs/notes/document-import/gnu-diffutils/v3-12/updates/2026-10-07-chapters-16-18/prepare-drafts.py
python3 docs/notes/document-import/gnu-diffutils/v3-12/updates/2026-10-07-chapters-16-18/extract-units.py
python3 docs/notes/document-import/gnu-diffutils/v3-12/updates/2026-10-07-chapters-16-18/render-drafts.py
python3 docs/notes/document-import/gnu-diffutils/v3-12/updates/2026-10-07-chapters-16-18/apply-update.py
python3 docs/notes/document-import/gnu-diffutils/v3-12/updates/2026-10-07-chapters-16-18/prepare-context.py
pnpm --filter=apps-gnu-diffutils build
```

日本語の優先編集入力は`workspace/docs/notes/document-import/gnu-diffutils/v3-12/translations/*-ja.json`です。同じ場所の`*-units.json`は原文と保護したインライン表記の対応を記録します。原文→英語定本→翻訳単位→日本語の順に再生成してください。機械的な保持検査は意味レビューの代わりになりません。変更後は別途意味を確認し、保存済みレビューは確認済み原稿のハッシュが一致する範囲だけ再利用できます。

Preferred Japanese edits are the `*-ja.json` files. Commands, output, variables and inline expressions remain literal. Helpers convert documentation and build Libx; they do not compile or run GNU diffutils or its examples.

## 変更と履歴 / Changes and History

Original: Comparing and Merging Files; GNU Diffutils version 3.12; document revision 12 January 2025; release 8 April 2025; authors and publisher above. The original archive and notices are unchanged.

6 October 2026: Libx adopted the complete Overview and chapters 1–4, split them into 43 paired pages, added an independent Japanese translation, and linked the remaining original manual. Source heading identifiers, all 33 code/output blocks, variable notation and the whole English GFDL are retained. Heading self-link marks are replaced by common navigation. The original title, authors, publisher, copyright, conditions, and modification History appear in the existing footer and source kit.

The original Detailed-Unified section contains adjacent descriptions of single-line and empty hunk positions using both start and end terminology. Libx preserves both paragraphs and adds a bilingual footer note with a fixed original link. 原文の単一行や空のhunkの開始・終了位置に関する隣接した説明を保持し、英日フッター注記と固定原典リンクで補っています。

原文の説明不足・記述上の相違や元サイト固有の機能は、注記・静的表示・固定全文の原典で補います。原著プログラムの技術監査や元サイトの完全再現は提供範囲に含めません。

7 October 2026: Added complete chapters5–9 (19 paired sections), retaining previous43paired pages and English GFDL reference;125editable Markdown documents in total. Original15additional example blocks remain literal. Added paragraphs and original English were reviewed in a separate saved workspace; only1Japanese qualifier was clarified and rechecked. The original archive/revision is unchanged.

2026年10月7日：第5〜9章の全19節を英日で追加し、既存43英日ページと英語GFDL参照を保持しました。定本は合計125原稿です。追加15ブロックの例は原文の静的表示です。追加分の日本語優先入力は `updates/2026-10-07-chapters-5-9/translations/*-ja.json`、既存分は従来の `translations/*-ja.json` です。保存後の別パスで19節全文を確認し、1箇所の日本語を明確化しました。意味レビューを機械検査で代替しません。この追加時点では第10〜18章・付録・索引を固定原文へのリンクで提供しました。

7 October 2026: Added complete chapter10 in21paired sections,120prose units and2literal example blocks. Retained all125previous preferred documents;167preferred Markdown documents total. Remainingchapters11–18/appendices/indexes are provided through the fixed complete original. Newpreferred translation input: `updates/2026-10-07-chapter-10/translations/*-ja.json`.

2026年10月7日：第10章の全21節を英日で追加しました。120説明単位と2例を保持し、既存125原稿は変更していません。定本は合計167原稿です。第11〜18章・付録・索引は固定原文で参照できます。脚注は原文全文の該当箇所へリンクします。

7 October 2026: Added complete chapters11–15 in13paired sections,207prose units and11literal example blocks. Retained all167previous preferred documents;193preferred Markdown documents total. Remainingchapters16–18/appendices/indexes use the fixed complete original. Preferred new translations: `updates/2026-10-07-chapters-11-15/translations/*-ja.json`. One exclusion-pattern clause was clarified after separate wholebody review; only that unit rechecked.

2026年10月7日：第11〜15章の全13節を英日で追加しました。207説明単位と11例を保持し、既存167原稿は変更していません。定本は合計193原稿です。第16〜18章・付録・索引は固定原文で参照できます。別パスで全文照合し、排除パターンの1文を明確化後に該当単位だけ再確認しました。

7 October 2026: Added complete chapters16–18 in13paired sections,62prose units and2literal example blocks. Retained all193previous preferred documents;219preferred Markdown documents total. All18chapters and the Overview now have original English and independent Japanese pages. Appendices and indexes remain available in the fixed complete original. Preferred new translations: `updates/2026-10-07-chapters-16-18/translations/*-ja.json`. All62units were checked in a separate saved workspace.

2026年10月7日：第16〜18章の全13節を英日で追加しました。62説明単位と2例を保持し、既存193原稿は変更していません。定本は合計219原稿です。概要と全18章を英語原文・独自日本語訳で提供し、付録・索引は固定原文で参照できます。別パスで全62単位を照合しました。
