masterarbeit/dokumentation/evolution3d/post_tmp.sh
2017-10-25 20:40:51 +02:00

18 lines
553 B
Bash
Executable File

#!/bin/bash
echo "regularity,variability,improvement"
cat "$1" | grep "EVOL" \
| sed -s "s/info: EVOL: //" \
| grep -v "info:" \
| grep -v "Evolvability" \
| grep -v "Converged after" \
| sed -s "s/regularity: //" \
| sed -s "s/variability: //" \
| sed -s "s/improvement: //" \
| sed -s "s/Best value: //" \
| sed -s "s/TOTAL STEPS: //" \
| while read -r ONE; do
read -r TWO
read -r THREE
echo "$ONE,$TWO,$THREE"
done