4 $reldir="~/musix/releases";
11 my(@a)= split /\./,$a;
12 my(@b)= split /\./,$b;
15 return $a[$i] <=> $b[$i] if ($a[$i] != $b[$i]);
21 open LS
, "ls -1 $reldir|";
26 $_ =~ /lilypond-([^.]+\.[^.]+\.[^.]+).tar.gz/;
31 @versions = sort cmpver
@versions;
32 my $last= (pop @versions);
35 system "rm $reldir/zZ*";
36 system "> $reldir/zZ_LATEST_IS_$last";
38 open NEWS
, "tar --to-stdout -zxf $reldir/lilypond-$last.tar.gz lilypond-$last/NEWS |";
39 input_record_separator NEWS
"****";