From fb514b599dad304faf90305708f160cd16f5f9c3 Mon Sep 17 00:00:00 2001 From: Phaidra Admin <admin.phaidra@univie.ac.at> Date: Thu, 29 Dec 2016 15:08:26 +0100 Subject: [PATCH] table formatting: more space --- show_fingerprints.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/show_fingerprints.pl b/show_fingerprints.pl index 19bc01e..d71053a 100755 --- a/show_fingerprints.pl +++ b/show_fingerprints.pl @@ -19,7 +19,7 @@ my @files= <*.pub>; # print "files: ", join (' ', @files), "\n"; push (@files, <authorized_keys*>); -printf ("%-20s %5s %-51s %-6s %s\n", qw(file size fingerprint type notes)); +printf ("%-24s %5s %-51s %-7s %s\n", qw(file size fingerprint type notes)); foreach my $file (@files) { my @cmd= qw(ssh-keygen -l); @@ -36,7 +36,7 @@ foreach my $file (@files) if ($notes =~ m#(.+)\s+\((.+)\)#) { ($notes, $type)= ($1, $2) } $fp= join(':', $hash_algorithm, $fp) unless ($has_E); - printf ("%-20s %5d %-51s %-6s %s\n", $file, $size, $fp, $type, $notes); + printf ("%-24s %5d %-51s %-7s %s\n", $file, $size, $fp, $type, $notes); } } -- GitLab