diff options
author | Ralf S. Engelschall <rse@openssl.org> | 1998-12-21 10:52:47 +0000 |
---|---|---|
committer | Ralf S. Engelschall <rse@openssl.org> | 1998-12-21 10:52:47 +0000 |
commit | d02b48c63a58ea4367a0e905979f140b7d090f86 (patch) | |
tree | 504f62ed3d84799f785b9cd9fab255a21b0e1b0e /util/tab_num.pl |
Import of old SSLeay release: SSLeay 0.8.1b
Diffstat (limited to 'util/tab_num.pl')
-rwxr-xr-x | util/tab_num.pl | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/util/tab_num.pl b/util/tab_num.pl new file mode 100755 index 0000000000..a81ed0edc2 --- /dev/null +++ b/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++; + } + |