Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct missing uppercases in Markdown files #9474

Closed
wants to merge 1 commit into from

Conversation

Benjamin-Loison
Copy link
Contributor

@Benjamin-Loison Benjamin-Loison commented Sep 11, 2022

To detect these typos I used:

grep -rn '\. [a-z]' . | \
uniq | \
grep -v '\. lib' | \
grep -v '[0-9]\. [a-z]' | \
grep -v '\.\. [a-z]' | \
grep -v '\. curl' | \
grep -v 'e.g. [a-z]' | \
grep -v 'eg. [a-z]' | \
grep -v '\etc. [a-z]' | \
grep -v 'i.e\. [a-z]' | \
grep --color=always '\. [a-z]' | \
grep '\.md'

To detect these typos I used:

```
clear && grep -rn '\. [a-z]' . | uniq | grep -v '\. lib' | grep -v '[0-9]\. [a-z]' | grep -v '\.\. [a-z]' | grep -v '\. curl' | grep -v 'e.g. [a-z]' | grep -v 'eg. [a-z]' | grep -v '\etc. [a-z]' | grep -v 'i.e\. [a-z]' | grep --color=always '\. [a-z]' | grep '\.md'
```
bagder
bagder approved these changes Sep 12, 2022
@bagder
Copy link
Member

bagder commented Sep 12, 2022

It might be fun to convert such a check into a CI job/tool. I notice that the command line above still points out:

docs/CHECKSRC.md:143:is sometimes a need to ignore specific warnings. checksrc allows a few

... and maybe checksrc should be allowed to have a lowercase c just like curl is allowed in the line?

@bagder
Copy link
Member

bagder commented Sep 12, 2022

Thanks!

@bagder bagder closed this in ff021cb Sep 12, 2022
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.

None yet

2 participants