CLI: text --find searches every text string #200

Manually merged
github merged 1 commit from gh-pr/200/head into gh-pr/200/base 2026-11-26 20:17:35 +00:00
Owner

@⁠holdmysocks on GitHub · 2026-11-24 20:19 UTC · original
holdmysocks:claude/people-text-find → master · +27 −5 · 2 files · 1 commits · merged 2026-11-24 20:45 UTC

What

sixng text [archive] --find <regex> searches every string of the text tables and prints the hits, without writing files. Before, finding a word needed a full text export and a grep.

  • The regex is case-insensitive and is matched on the text without its inline markup.
  • A hit is one label and text; the same string in several tables is counted (tables) and its first table is named.
  • --limit caps the printed hits (default 200); matches gives the full count. --plain prints the text without markup.

Verified

  • Workspace tests of the CLI and core pass.
  • Run on the main text archive: a character's first name gives 96 hits across the language tables in about 30 s.

Not verified

  • Other archives than the main text archive.
**@⁠holdmysocks** on GitHub · 2026-11-24 20:19 UTC · [original](https://github.com/holdmysocks/SixNG/pull/200) `holdmysocks:claude/people-text-find` → `master` · +27 −5 · 2 files · 1 commits · merged 2026-11-24 20:45 UTC ## What `sixng text [archive] --find <regex>` searches every string of the text tables and prints the hits, without writing files. Before, finding a word needed a full text export and a grep. - The regex is case-insensitive and is matched on the text without its inline markup. - A hit is one label and text; the same string in several tables is counted (`tables`) and its first table is named. - `--limit` caps the printed hits (default 200); `matches` gives the full count. `--plain` prints the text without markup. ## Verified - Workspace tests of the CLI and core pass. - Run on the main text archive: a character's first name gives 96 hits across the language tables in about 30 s. ## Not verified - Other archives than the main text archive.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 20:17:33 +00:00
github manually merged commit ed69b05e5a into gh-pr/200/base 2026-11-26 20:17:35 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.