Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dotfiles
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Gerhard Gonter
dotfiles
Commits
fb514b59
Commit
fb514b59
authored
8 years ago
by
Phaidra Admin
Browse files
Options
Downloads
Patches
Plain Diff
table formatting: more space
parent
6888c924
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
show_fingerprints.pl
+2
-2
2 additions, 2 deletions
show_fingerprints.pl
with
2 additions
and
2 deletions
show_fingerprints.pl
+
2
−
2
View file @
fb514b59
...
...
@@ -19,7 +19,7 @@ my @files= <*.pub>;
# print "files: ", join (' ', @files), "\n";
push
(
@files
,
<
authorized_keys
*>
);
printf
("
%-2
0
s %5s %-51s %-
6
s %s
\n
",
qw(file size fingerprint type notes)
);
printf
("
%-2
4
s %5s %-51s %-
7
s %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
("
%-2
0
s %5d %-51s %-
6
s %s
\n
",
$file
,
$size
,
$fp
,
$type
,
$notes
);
printf
("
%-2
4
s %5d %-51s %-
7
s %s
\n
",
$file
,
$size
,
$fp
,
$type
,
$notes
);
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment