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