#!/bin/bash # script to run a program reading a summary file # copy a zipped summary file we that we want to read cp ../../v2/summary/summary_77_80/v2_sum_1978.012.00_1978.013.00.gz . # unzip it gunzip v2_sum_1978.012.00_1978.013.00.gz make # execute the executable file ./lread < v2_sum_1978.012.00_1978.013.00 > output # remove the unzipped binary file rm v2_sum_1978.012.00_1978.013.00