Re: [PATCH v2] devtools: spell check

2021-11-12 Thread Stephen Hemminger
On Fri, 12 Nov 2021 13:14:45 -0500 Henry Nadeau wrote: > +# Compares diff between current branch and it's remote counterpart > +if [ ! $all_check = 'true' ]; then > + git diff "$branch" origin/"$remote_branch" --name-only | > + grep ".*\.rst" | > + # run the spellcheck function over

[PATCH v2] devtools: spell check

2021-11-12 Thread Henry Nadeau
A spell check script that checks for spelling errors in modified .rst files using git. There is also an optional flag to have the script check the entire doc directory for errors. The dictionary is used for word exceptions, and the regex file will exclude any regex patterns supplied on each line.