diff options
author | Brad Fitzpatrick <brad@danga.com> | 2006-09-04 02:23:19 +0000 |
---|---|---|
committer | Brad Fitzpatrick <brad@danga.com> | 2006-09-04 02:23:19 +0000 |
commit | 1ea89bd54442d4040d50aad91e1c86bfeeddc723 (patch) | |
tree | 14c12e999e9f0cc25234b775ad9967334b72ba2d /devtools | |
parent | 93c6642e49de4a6b1bd52955efcea6968bb69920 (diff) | |
download | memcached-1ea89bd54442d4040d50aad91e1c86bfeeddc723.tar.gz |
remove all trailing whitespace, not just first occurrence. :)
git-svn-id: http://code.sixapart.com/svn/memcached/trunk/server@329 b0b603af-a30f-0410-a34e-baf09ae79d0b
Diffstat (limited to 'devtools')
-rwxr-xr-x | devtools/clean-whitespace.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/devtools/clean-whitespace.pl b/devtools/clean-whitespace.pl index b5b910f..ace00b5 100755 --- a/devtools/clean-whitespace.pl +++ b/devtools/clean-whitespace.pl @@ -9,7 +9,7 @@ foreach my $f (@files) { close ($fh); my $after = $before; $after =~ s/\t/ /g; - $after =~ s/\s+$//m; + $after =~ s/\s+$//mg; next if $after eq $before; open(my $fh, ">$f") or die; print $fh $after; |