#!/usr/local/bin/perl # # Rest can be left alone as the Makefile will edit the $nocolroot. $nocolroot = "/nocol" unless $nocolroot; # SET_THIS $etcdir = "$nocolroot/etc" unless $etcdir; # location of config file $bindir = "$nocolroot/bin" unless $bindir; $datadir = "$nocolroot/data" unless $datadir; push(@INC, $bindir); push(@INC, $etcdir); # add to search paths for 'require' require "nocollib.pl"; # get all log files from NOCOL data directory # (extract only those files that have '-output' as prefix) opendir(LOGDIR, "$datadir") || die "\nCannot open input directory $datadir"; @logfiles = sort(grep(/.+-output/i, readdir(LOGDIR))); closedir(LOGDIR); print <