Skip to content

Commit

Permalink
WT-2662 For spell check, strip out double quote literals, they confus…
Browse files Browse the repository at this point in the history
…e aspell. (#2748)
  • Loading branch information
ddanderson authored and keithbostic committed May 25, 2016
1 parent 5c70c81 commit 230fed7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion dist/s_string
Expand Up @@ -31,7 +31,9 @@ replace() {
# Check the spelling of an individual file.
check() {
# Strip out git hashes, which are seven character hex strings.
sed 's/ [0-9a-f]\{7\} / /g' ../$2 | aspell --lang=en $1 list |
# Strip out double quote char literals ('"'), they confuse aspell.
sed -e 's/ [0-9a-f]\{7\} / /g' -e "s/'\"'//g" ../$2 |
aspell --lang=en $1 list |
sort -u |
comm -23 /dev/stdin s_string.ok > $t
test -s $t && {
Expand Down

0 comments on commit 230fed7

Please sign in to comment.