aboutsummaryrefslogtreecommitdiffstats
path: root/english/mirror/arch_size.pl
diff options
context:
space:
mode:
authorSimon Paillard <spaillar>2009-06-07 12:12:17 +0000
committerSimon Paillard <spaillar>2009-06-07 12:12:17 +0000
commitaf357440858bee14895b774bad2276624500375d (patch)
treeacca33505ff54be985c18afc588289bf62605048 /english/mirror/arch_size.pl
parentac162006fcd3a4f6fa57ab04c623dcf708ae94c9 (diff)
Match lines with low size figures (with trailing spaces)
CVS version numbers english/mirror/arch_size.pl: 1.1 -> 1.2
Diffstat (limited to 'english/mirror/arch_size.pl')
-rwxr-xr-xenglish/mirror/arch_size.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/english/mirror/arch_size.pl b/english/mirror/arch_size.pl
index 321f8a078c7..14854549b7a 100755
--- a/english/mirror/arch_size.pl
+++ b/english/mirror/arch_size.pl
@@ -20,7 +20,7 @@ my $arch_space = $res->content;
my $total ;
for my $line (split("\n",$arch_space)) {
- if ($line =~ /^([\w-]+)\s*\|(\d+)$/) {
+ if ($line =~ /^([\w-]+)\s*\|(\d+)\s*$/) {
my $size = $2/1000000000;
$total += $2 ;
printf "<tr><td>$1</td>\t<td>%.0f</td></tr>\n", $size ;

© 2014-2024 Faster IT GmbH | imprint | privacy policy