trim trailing spaces

This commit is contained in:
Steffen Jaeckel 2014-10-14 13:48:23 +02:00
parent 30fcfec893
commit 410ae3951e
3 changed files with 336 additions and 334 deletions

2
gen.pl
View File

@ -15,3 +15,5 @@ foreach my $filename (glob "bn*.c") {
} }
print OUT "\n/* EOF */\n"; print OUT "\n/* EOF */\n";
close OUT or die "Error closing mpi.c after writing: $!"; close OUT or die "Error closing mpi.c after writing: $!";
system('perl -pli -e "s/\s*$//" mpi.c');