ProgettoMartinelli2023/Fig_src/gnuplot/bin/dataVIAERR.bash

15 lines
406 B
Bash
Executable File

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