mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-23 16:00:01 -06:00
4a3a47c764
rather specify it as properties on the tests themself and extract using some awk-ing.
11 lines
187 B
Awk
11 lines
187 B
Awk
$1 ~ search {
|
|
for (i = 3; i <= NF; ++i) {
|
|
if ($i == prop) {
|
|
val = $(i + 1)
|
|
gsub(/"/, "", val)
|
|
print val
|
|
exit
|
|
}
|
|
}
|
|
}
|