Revision 2c720c746b18fa2eef4be4ad21c9352a5417b583 authored by Ralf S. Engelschall on 09 August 1999, 10:40:38 UTC, committed by Ralf S. Engelschall on 09 August 1999, 10:40:38 UTC
1 parent be1027e
tab_num.pl
#!/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++;
}

Computing file changes ...