diff options
author | joe <joe@FreeBSD.org> | 2001-05-13 17:45:58 +0000 |
---|---|---|
committer | joe <joe@FreeBSD.org> | 2001-05-13 17:45:58 +0000 |
commit | 0053a68c84cf2f835b97200a1b1e81a07a2cd327 (patch) | |
tree | e5d6186325ab859f447afd6585a000627a97e50d /CVSROOT | |
parent | 5d6e9244907e48adcf4943ee855b612d95aec28f (diff) | |
download | FreeBSD-ports-0053a68c84cf2f835b97200a1b1e81a07a2cd327.zip FreeBSD-ports-0053a68c84cf2f835b97200a1b1e81a07a2cd327.tar.gz |
Remove trailing spaces in the log message correctly.
PR:
Submitted by:
Reviewed by:
Approved by:
Obtained from:
Diffstat (limited to 'CVSROOT')
-rwxr-xr-x | CVSROOT/logcheck | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CVSROOT/logcheck b/CVSROOT/logcheck index e5cbe71..eaac0cb 100755 --- a/CVSROOT/logcheck +++ b/CVSROOT/logcheck @@ -27,7 +27,7 @@ open(OUT, "> $tmpfile") || # Read the log file in, stripping 'CVS:' lines and removing trailing # white spaces. -my @log_in = map { s/^(.*)\s*$/$1/; $1 } grep { !/^CVS:/ } <IN>; +my @log_in = map { s/^(.*?)\s*$/$1/; $_ } grep { !/^CVS:/ } <IN>; # Remove leading, trailing and duplicate blank lines. my $i = 0; |