X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/blobdiff_plain/80a1fe1a200a4309c36598571b1f4ccb76a8788f..c0a35285e53870b4f8f0be9857debc39e61f6ba2:/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"