-
Type: Improvement
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
Summary
It would be great to improve how we find paired typos in s_style. The current command is:
egrep -w 'a a|an an|and and|are are|be be|by by|for for|from from|if if|in in[^-]|is is|it it|of of|the the|this this|to to|was was|were were|when when|with with|a an|an a|a the|the a' $f > $t
Motivation
- Does this affect any team outside of WT?
No
- Is this issue urgent?
No
Acceptance Criteria (Definition of Done)
A better/cleaner way to find paired typos is implemented.
Suggested Solution
Using Regex or anything else that is suitable for this exercise, we could check for two consecutive words that are the same but separated by a space, a dash, etc.
- duplicates
-
WT-8929 Improve s_style to find all paired typos
- Closed