8 @files = glob '/tmp/isi.*-*.txt' unless @files;
10 my $path = '/tmp/isi.full.txt';
11 open(my $out_fh, '>', $path);
12 print $out_fh "FN ISI Export Format\nVR 1.0\n";
14 foreach my $file ( sort {
15 my $a_r = $1 if $a =~ m{(\d+)-\d+};
16 my $b_r = $1 if $b =~ m{(\d+)-\d+};
21 open(my $fh, '<', $file);
23 next if m/^(FN|VR|EF)/;
32 warn "# $path ", -s $path;