#!/bin/bash cut -d, -f 6,7 $1/simlog.csv > $1/EnergyUF.csv cut -d, -f 10,11 $1/simlog.csv > $1/EffortUF.csv cut -d, -f 14,15 $1/simlog.csv > $1/DefectsUF.csv cut -d, -f 18,19 $1/simlog.csv > $1/ThreatUF.csv cut -d, -f 22,23 $1/simlog.csv > $1/MonthsUF.csv gawk -f mod.awk $1/EnergyUF.csv > $1/EnergyOut.csv gawk -f mod.awk $1/EffortUF.csv > $1/EffortOut.csv gawk -f mod.awk $1/DefectsUF.csv > $1/DefectsOut.csv gawk -f mod.awk $1/ThreatUF.csv > $1/ThreatOut.csv gawk -f mod.awk $1/MonthsUF.csv > $1/MonthsOut.csv