]> AND Private Git Repository - loba.git/blobdiff - Experimentations/extract-all
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
Add copyright, and license files.
[loba.git] / Experimentations / extract-all
index 6cb1b657623c6c64252e9fcf365bc54514aca1f0..02b6e9dc1fa16d90499cb04dcfc0e67d0fdc25eb 100755 (executable)
@@ -128,7 +128,7 @@ for plat in "${PLATFORMS[@]}"; do
                                for bk in "" "-b"; do
                                        tmp=$(outfile "loba" $bk "${args[@]}")
                                        infile="$algo_output/$tmp.out"
                                for bk in "" "-b"; do
                                        tmp=$(outfile "loba" $bk "${args[@]}")
                                        infile="$algo_output/$tmp.out"
-                                       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"
                                        log "Reading $target_param from $infile : $variable"
                                        mediantexline=$(echo -e "$mediantexline&$variable\t")
                                        echo  -e "$algo$bk\t$variable\n" >> "$topo_data_out"