5 die "Usage: $0 <divisor> <in> [out]\n";
8 $ARGV[2] = '-' if (@ARGV == 2);
10 open IN
, $ARGV[1] or die $!;
11 open OUT
, ">$ARGV[2]" or die $!;
15 my @sp=split /\,/, $_;
17 my @clum=(0,0,0,0,0,0,0,0,0,0,0,0);
18 my @one=split /\=/,$sp[0];
19 $one[0]=~/.*\"(.*)\".*/;
21 $one[1]=~/\D+(\d+)\D+/;
30 my @two=split /\=/,$sp[$n];
31 $two[0]=~/\D+(\d+)\D+/;
41 print OUT
"$clum[0]\t$clum[1]\t$clum[2]\t$clum[3]\t$clum[4]\t$clum[5]\t$clum[6]\t$clum[7]\t$clum[8]\t$clum[9]\t$clum[10]\n";
48 ./bsuit check j150/k150
.ini
|tail
-n11
|head
-n10
| ./getchecked
.pl
1 -
49 ./bsuit check sj/j90
.ini
|tail
-n11
|head
-n10
> x90
.txt
50 ./getchecked
.pl
1 x90
.txt