/[CCFs]/bin/last_version
ViewVC logotype

Contents of /bin/last_version

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations)
Mon Jan 15 10:02:11 2018 UTC (6 years, 10 months ago) by ccflib
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +2 -2 lines
Newer versions of archive_valid_ccf_lists.sh, checkupdates, deleteccf, findlatest and last_version to have a locally installed version of perl

1 #! /xdata/ccflib/perl5/perlbrew/perls/perl-5.18.4/bin/perl -w
2 # $Id: last_version,v 1.2 2014/12/02 15:43:55 ccflib Exp $
3 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