diff options
author | Rob Austein <sra@hactrn.net> | 2006-10-09 16:31:22 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2006-10-09 16:31:22 +0000 |
commit | aba277548b76071e75fc9478002a6fc2145f64f1 (patch) | |
tree | f07acb17076536343634c4d3c1938b56c60816b8 /openssl/vendor/0.9.8d/util/tab_num.pl | |
parent | 1b2aa7959c86a835491c8cfca8c0683b747c1855 (diff) |
Tag vendor OpenSSL 0.9.8d
svn path=/openssl/vendor/0.9.8d; revision=376
Diffstat (limited to 'openssl/vendor/0.9.8d/util/tab_num.pl')
-rwxr-xr-x | openssl/vendor/0.9.8d/util/tab_num.pl | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/openssl/vendor/0.9.8d/util/tab_num.pl b/openssl/vendor/0.9.8d/util/tab_num.pl new file mode 100755 index 00000000..a81ed0ed --- /dev/null +++ b/openssl/vendor/0.9.8d/util/tab_num.pl @@ -0,0 +1,17 @@ +#!/usr/local/bin/perl + +$num=1; +$width=40; + +while (<>) + { + chop; + + $i=length($_); + + $n=$width-$i; + $i=int(($n+7)/8); + print $_.("\t" x $i).$num."\n"; + $num++; + } + |