#!/bin/bash # Paste into single output the results for the power loss combined with the values of P for each variable P_i n="$1" # number of nodes, input MEASURE="P_LOSS" # measure for power loss CSVFILE="$2" # results file paste <(./bin/data.awk "$MEASURE" "$CSVFILE") <(./bin/dataPsumGen.bash "$n" "$CSVFILE") # Name,Start Time,Mean,Confidence Interval, Name,Start Time,sum of Mean of P_i >0