A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Kill trailing whitespaces in source code files.
[simgrid.git]
/
tools
/
internal
/
spell_comments.pl
diff --git
a/tools/internal/spell_comments.pl
b/tools/internal/spell_comments.pl
index dfb94928bd63a666bd6f1186e72f87218e4fbd04..1da30a9456082f96c4561de7cd125250418686ca 100755
(executable)
--- a/
tools/internal/spell_comments.pl
+++ b/
tools/internal/spell_comments.pl
@@
-47,7
+47,7
@@
foreach my $file (@ARGV) {
open(PIN, "ispell -d american -p $DICTFILE -l < $TEMPFILE | sort -uf |") || die;
my @badwords;
while (my $err = <PIN>) {
open(PIN, "ispell -d american -p $DICTFILE -l < $TEMPFILE | sort -uf |") || die;
my @badwords;
while (my $err = <PIN>) {
- chomp $err;
+ chomp $err;
push(@badwords, $err) if ($err =~ /\w/ && length($err)>0);
}
close(PIN) || die;
push(@badwords, $err) if ($err =~ /\w/ && length($err)>0);
}
close(PIN) || die;