Adrià Vilanova MartÃnez | c102e96 | 2022-06-04 23:53:44 +0200 | [diff] [blame] | 1 | #!/bin/bash |
| 2 | cd data_out/dep_en_L |
| 3 | LList="8 16 32 64" |
| 4 | LFinalList=() |
| 5 | |
| 6 | mkdir -p tmpdata |
| 7 | for L in $LList; do |
| 8 | if [ -d "$L" ]; then |
| 9 | (cd $L; cat *.res | sort -nk2 > "../tmpdata/$L.dat") |
| 10 | LFinalList+=("$L") |
| 11 | else |
| 12 | echo "Folder with L=$L doesn't exist, skipping." |
| 13 | fi |
| 14 | done |
| 15 | |
| 16 | LFinalListString="${LFinalList[@]}" |
| 17 | |
| 18 | cd ../../ |
| 19 | mkdir -p data_out/dep_en_L_graphs |
| 20 | ./graphs/dependenciaEnL.gnu "$LFinalListString" |
| 21 | rm -rf data_out/dep_en_L/tmpdata |