diff options
Diffstat (limited to 'openssl/util/tab_num.pl')
-rw-r--r-- | openssl/util/tab_num.pl | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/openssl/util/tab_num.pl b/openssl/util/tab_num.pl new file mode 100644 index 000000000..a81ed0edc --- /dev/null +++ b/openssl/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++; + } + |