Skip to content

spelling: strikethrough#692

Merged
JohnMcPMS merged 1 commit into
microsoft:masterfrom
jsoref:spelling
Jan 11, 2021
Merged

spelling: strikethrough#692
JohnMcPMS merged 1 commit into
microsoft:masterfrom
jsoref:spelling

Conversation

@jsoref

@jsoref jsoref commented Jan 8, 2021

Copy link
Copy Markdown
Contributor

@denelon

Microsoft Reviewers: Open in CodeFlow

@jsoref jsoref requested a review from a team as a code owner January 8, 2021 20:04
@github-actions

github-actions Bot commented Jan 8, 2021

Copy link
Copy Markdown

New misspellings found, please review:

  • strikethrough
To accept these changes, run the following commands
perl -e '
my @expect_files=qw('".github/actions/spelling/expect.txt"');
@ARGV=@expect_files;
my @stale=qw('"AComment addressof ALIGNAS allescaped alse ARMEL backend bbwe bitfield blep BORLAND cassert cctype cdunn cerr clocale CMake cmath cname codepoint cplusplus CPPLIB cstddef cstdio cstdlib cstr cstring CStyle ctor czstring deque deref dllimport dnp elif emark endcode endverbatim EOL eturn eyc fpclassify gcc GNUC hpux HREF hrow ieeefp inl iosfwd isfinite Isfinitef isnan isprint IString javascript jsonvalue keey keylength lconv len Lepilleur localeconv lossfree malloc maxsize memcmp memset MINGW modf msvc Multiline mutators nfinity noreturn NULLREF nvcc NVIDIAs OString ote ptrdiff py Skype skypeapp Solaris sourceforge sout SOVERSION ssin stackoverflow STARTUPINFOW stdarg strchr strcmp strdup strlen strncmp unindent Unserialize usf valueiterator vscprintf vsnprintf walkaround wiki wikipedia Workaround wstringstream xf xl "');
my $re=join "|", @stale;
my $suffix=".".time();
my $previous="";
sub maybe_unlink { unlink($_[0]) if $_[0]; }
while (<>) {
  if ($ARGV ne $old_argv) { maybe_unlink($previous); $previous="$ARGV$suffix"; rename($ARGV, $previous); open(ARGV_OUT, ">$ARGV"); select(ARGV_OUT); $old_argv = $ARGV; }
  next if /^($re)(?:$| .*)/; print;
}; maybe_unlink($previous);'
perl -e '
my $new_expect_file=".github/actions/spelling/expect.txt";
open FILE, q{<}, $new_expect_file; chomp(my @words = <FILE>); close FILE;
my @add=qw('"strikethrough "');
my %items; @items{@words} = @words x (1); @items{@add} = @add x (1);
@words = sort {lc($a) cmp lc($b)} keys %items;
open FILE, q{>}, $new_expect_file; for my $word (@words) { print FILE "$word\n" if $word =~ /\w/; };
close FILE;'
git add .github/actions/spelling || echo '... you want to ensure .github/actions/spelling/expect.txt is added to your repository...'

@JohnMcPMS

Copy link
Copy Markdown
Member

Is this a problem in the main dictionary, or should we be adding that word to our allow/exclude?

@jsoref

jsoref commented Jan 9, 2021

Copy link
Copy Markdown
Contributor Author

Indeed, the word isn't in the dictionary.

@JohnMcPMS JohnMcPMS merged commit b153882 into microsoft:master Jan 11, 2021
@jsoref jsoref deleted the spelling branch January 11, 2021 19:25
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

Successfully merging this pull request may close these issues.

2 participants