ProgettoMartinelli2023/Fig_src/gnuplot/bin/dataTVERROUT.bash

15 lines
428 B
Bash
Executable File

#!/bin/bash
# Cat results for each variable TVERROUT_i into single output
#
n="$1" # number of measures TVERROUT_i, equal to number of nodes, input
MEASUREBASE="TVERROUT_" # measure TVERROUT_ with index i
CSVFILE="$2" # results file
for i in $(seq 1 $n); do
LIST="${LIST} ${MEASUREBASE}${i} ${CSVFILE}"
done
echo "${LIST}" | xargs -n2 bash -c './bin/dataInterval.awk "$@"' FILLER;