X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/blobdiff_plain/70611cc5a8c28decbc1580c18f3a805347fb846e..0c8946b7a59db0f227269a21c25e2e84ec0a8032:/Experimentations/extract-all-inv?ds=sidebyside diff --git a/Experimentations/extract-all-inv b/Experimentations/extract-all-inv index dfa4c60..41e6ece 100755 --- a/Experimentations/extract-all-inv +++ b/Experimentations/extract-all-inv @@ -124,7 +124,7 @@ for plat in "${PLATFORMS[@]}"; do target_position=${params_pos[$target_i]}; outfilesuffix=$(outfile "${target_param[@]}") topo_data_out="$plat_output/data_$topo-$outfilesuffix.tex" - variable=$(awk '/'"$target_param"'/{print $'"$target_position"'}' "$infile") + variable=$(tail -17 "$infile" | awk '/'"$target_param"'/{print $'"$target_position"'}') log "Reading $target_param from $infile : $variable" mediantexline=$(echo -e "$mediantexline&$variable\t") echo -e "$algo$bk\t$variable\n" >> "$topo_data_out"