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

Not recognizing hyphenated line-wrapped words #515

Open
shmup opened this issue Jul 20, 2022 · 3 comments
Open

Not recognizing hyphenated line-wrapped words #515

shmup opened this issue Jul 20, 2022 · 3 comments
Labels
bug Not as expected

Comments

@shmup
Copy link

shmup commented Jul 20, 2022

And maybe it shouldn't, but I wanted to bring it up in case it hasn't been before:

Here's an example:

       [......]  they  provide a standard way to include non-standard informa-
       tion in the archive).  If neither  exists,  the  character  will  be  a
       hyphen  (`-'); if there is an extended local header but no extra field,
       `l'; if the reverse, `x'; and if both exist, `X'.   Thus  the  file  in
       this  example is (probably) a text file, is not encrypted, and has nei-
       ther an extra field nor an extended local header  associated  with  it.

What I'm wondering is, would it even be worth it to have an argument that says "respect wrapped hyphenated words"?

In this case that's information and neither.

Example for posterity:

error: `indicat` should be `indicate`
  --> ./third_party/unzip/zipinfo.txt:153:71
    |
153 |        several values.  The first character may be either `t' or `b', indicat-
    |                                                                       ^^^^^^^
@epage
Copy link
Collaborator

epage commented Jul 20, 2022

This would require also distinguishing between a dash being used for line wrapping and subtaction/kebab-case. Granted, there are different kinds of dashes but people are sloppy about that.

I suspect this will not be resolved but will leave open for now.

@epage epage added the bug Not as expected label Jul 20, 2022
@cgzones
Copy link

cgzones commented Oct 14, 2022

Another example (where ignoring systemd-localed is void):

error: `localed` should be `located`
  --> policy/modules/systemd/systemd_locale.te:24:11
   |
24 | # systemd-localed policy
   |           ^^^^^^^

@jgillard
Copy link

jgillard commented Jan 6, 2023

Another: add-ons, where ons is flagged as a typo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Not as expected
Projects
None yet
Development

No branches or pull requests

4 participants