/usr/bin/blocksplit is in clonalorigin 1.0-2.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | #!/usr/bin/perl -w
use strict;
my $fname = $ARGV[0];
open(INFILE, "$fname") || die "Unable to open input XMFA file $fname\n";
my $i = 1;
my $curoutfile = $fname.".1";
open(OUTFILE, ">$curoutfile");
while( my $line = <INFILE> )
{
print OUTFILE $line;
if($line =~ /=/)
{
close OUTFILE;
$i++;
$curoutfile = $fname.".$i";
open(OUTFILE, ">$curoutfile");
}
}
close OUTFILE;
# last output file is extra
`rm $curoutfile`;
|