/[CCFs]/bin/last_version
ViewVC logotype

Annotation of /bin/last_version

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations)
Tue Dec 2 15:43:55 2014 UTC (9 years, 11 months ago) by ccflib
Branch: MAIN
Changes since 1.1: +1 -0 lines
Ok for sasbld01

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

  ViewVC Help
Powered by ViewVC 1.1.27