- or download this
INPUT SEQUENCE=XXX
- or download this
______________________________________________________________________
+___________________________________
- or download this
#!/usr/bin/perl
...
$from=$to+1;
$to = $from+$recs_X_file-1;
}
- or download this
perl split_records.pl inputfile 10
- or download this
printing records 0 to 9 in file.0-9
printing records 10 to 19 in file.10-19
printing records 20 to 29 in file.20-29
... and so on (depending on the number of records of the original file