/[CCFs]/bin/last_version
ViewVC logotype

Contents of /bin/last_version

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations)
Fri May 11 11:47:39 2007 UTC (17 years, 6 months ago) by ccflib
Branch: MAIN
buildagain updated including call to new perl module last_version

1 #!/usr/local/bin/perl
2 use strict;
3 use FileHandle;
4
5 my $cl = new FileHandle $ARGV[0], "r" or die("Do not see ChangeLog");
6 my $inlog;
7 while(<$cl>){
8 if(/^Version/){
9 if(not defined $inlog){
10 $inlog++;
11 } else {
12 last;
13 }
14 }
15 print if(defined $inlog);
16 }
17 $cl->close();
18

  ViewVC Help
Powered by ViewVC 1.1.27