Repository navigation
docs: update grep descriptions for passthrough behavior - #871
BadassBison wants to merge 1 commit into
Conversation
…ehavior - grep: always filters output in file:line:content format (--no-ignore-vcs, truncated lines, capped) - smart_truncate: documents smart selection logic with [N more lines] end marker (no inline // ... annotations) - ARCHITECTURE.md: SYSTEM savings range restored to 50-90% - AUDIT_GUIDE.md: grep savings updated to 50-90% - All language READMEs updated to reflect filtered (not passthrough) output
b725ef7 to
f398e1f
Compare
|
This pull request has been automatically marked as stale due to 90 days of inactivity. If this pull request is still relevant, please leave any comment (for example, "bump"), and we'll keep it open. Your contribution is very much appreciated — we're sorry we haven't been able to review it yet. |
|
Thanks for taking the time to update the grep wording across all the language files. The behaviour these lines describe has changed twice since this was opened: #2641 (merged 2026-06-26) removed the rg substitution and the --no-ignore-vcs flag, and #3182 (merged 2026-07-28) replaced the 50-match passthrough threshold with a rule that only emits the grouped form when capping actually shrinks the output. Because of that, the new wording here, file:line:content and --no-ignore-vcs, no longer matches what rtk grep does, so the text cannot land as written. The docs on develop are still stale in the other direction, since README.md, INSTALL.md, the translated READMEs, docs/usage/AUDIT_GUIDE.md and docs/usage/FEATURES.md all still call the output grouped by file, and a fresh pass describing the current never-worse model would be very welcome. Please comment or reopen if I have missed a part of this. |
Summary
Doc-only follow-up to #791 (grep false negatives, output mangling, and truncation annotations).
Updates all relevant documentation to reflect the behavioral changes made in that PR:
rtk grepnow passes through rawfile:line:contentoutput for <=50 matches, and uses the grouped format only for >50 matches--no-ignore-vcsis used (not--no-ignore) so.ignore/.rgignoreare still respected0-90%to reflect passthrough for small result setsFiles changed
README.mdREADME_es.md/fr/ja/ko/zhARCHITECTURE.md50-90%→0-90%INSTALL.mddocs/AUDIT_GUIDE.mddocs/FEATURES.md--no-ignore→--no-ignore-vcs