repo.or.cz
/
freebsd-src
/
fkvm-freebsd.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Ignore machine-check MSRs
[freebsd-src/fkvm-freebsd.git]
/
crypto
/
openssl
/
util
/
tab_num.pl
blob
a81ed0edc2452ce7b1ae9adc857c187e1ca01de9
1
#!/usr/local/bin/perl
2
3
$num
=
1
;
4
$width
=
40
;
5
6
while
(<>)
7
{
8
chop
;
9
10
$i
=
length
(
$_
);
11
12
$n
=
$width
-
$i
;
13
$i
=
int
((
$n
+
7
)/
8
);
14
print
$_
.(
"
\t
"
x
$i
).
$num
.
"
\n
"
;
15
$num
++;
16
}
17