| Summary: | Fix typo "the the" | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Documentation | Reporter: | Christian Weisgerber <naddy> | ||||||
| Component: | Manual Pages | Assignee: | Christian Weisgerber <naddy> | ||||||
| Status: | Closed FIXED | ||||||||
| Severity: | Affects Only Me | CC: | doc, homaei, ygy | ||||||
| Priority: | --- | ||||||||
| Version: | Latest | ||||||||
| Hardware: | Any | ||||||||
| OS: | Any | ||||||||
| Attachments: |
|
||||||||
Approved by: ygy (doc) Please go ahead, thanks! Committed. nice job, but there are 106 other cases: zgrep -iwl "the the" /usr/share/man/*/*.gz I have not looked at all occurrences of `the the`, but one should not blindly use sed, there are probably occurrences where it is warranted. (In those cases, the sentence should probably be rewritten though.) (In reply to homaei from comment #3) You need to look under /usr/src. Most of the remaining instances of "the the" are probably from third-party software in contrib or crypto and should be fixed upstream. (In reply to Mathieu Arnold from comment #4) This is exactly what the "-w" (man grep)is responsible for :) the command is almost precise and i checked some of them, was OK. (In reply to Mathieu Arnold from comment #4) i spent more than 1 hours to find "one the optimum and feasible" ways. (In reply to Christian Weisgerber from comment #5) Actually i did this, nothing found. Math and Chris, really appreciate your comments. some of them even have 2 occurrences which is weird, like: man setac Created attachment 242000 [details]
rg "the the " /usr/src --sort path
For anyone who would like to correct some of what's found.
(In reply to Graham Perrin from comment #10) rg "the the " /usr/src/share/man --sort path still got nothing for man pages. typos in .c or .h files are typical but in man pages have a bad feeling. would be better to fix them all at once. |
Created attachment 233001 [details] git diff for "the the" in man pages I grepped the man pages for "the the" and found two non-contrib instances to fix. Diff attached, or I can commit this directly if approved.