benchmark.pl: Align numbers right in Markdown output

This commit is contained in:
Jakob Unterwurzacher 2014-12-08 19:34:50 +01:00
parent b9c8b5cb47
commit 9a64ff97c5

View File

@ -136,8 +136,8 @@ sub tabulate {
$r = shift; $r = shift;
my @ecryptfs = @{$r}; my @ecryptfs = @{$r};
print "Test | EncFS | eCryptfs | EncFS advantage\n"; print " Test | EncFS | eCryptfs | EncFS advantage\n";
print "----------------|--------------|--------------|----------------\n"; print ":---------------|-------------:|-------------:|---------------:\n";
for ( my $i = 0 ; $i <= $#encfs ; $i++ ) { for ( my $i = 0 ; $i <= $#encfs ; $i++ ) {
my $test = $encfs[$i][0]; my $test = $encfs[$i][0];