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

need a script to find where dictionary is broken #14

Open
luzpaz opened this issue Oct 17, 2019 · 5 comments
Open

need a script to find where dictionary is broken #14

luzpaz opened this issue Oct 17, 2019 · 5 comments

Comments

@luzpaz
Copy link
Collaborator

luzpaz commented Oct 17, 2019

Did a large cleanup, and looks like i missed a comma or -> somewhere?
On codespell, the CI would tell me where the problem is. Here it's like finding a 'needle in a haystack'

@luzpaz
Copy link
Collaborator Author

luzpaz commented Mar 5, 2020

trying to use grep -L '->' * doesn't seem to work
grep -L '-\>' doesn't either

@luzpaz
Copy link
Collaborator Author

luzpaz commented Mar 5, 2020

I found it while using vim:

Open in vim: vim dictionary_all.txt
Invoke the search function, press the / key:
then paste the following: /^\(\(.*foo.*\)\@!.\)*$
Note the above should have olny one forward slash at the beginning of the regex.

@luzpaz
Copy link
Collaborator Author

luzpaz commented Mar 6, 2020

@orbitcowboy what say you?

@luzpaz
Copy link
Collaborator Author

luzpaz commented Mar 12, 2020

why not incorporate codespell's dictionary checking python scripts ?

@orbitcowboy
Copy link
Owner

why not incorporate codespell's dictionary checking python scripts ?

Thanks. Thats a good idea. Feel free a add these checks.

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

No branches or pull requests

2 participants