295c1c1e8b
Change-Id: I5889743e94ed568c8f7dcc50de0b03b8421969f7
11 lines
190 B
Awk
11 lines
190 B
Awk
BEGIN { FS="[|)]" }
|
|
|
|
/^[ \t]*([0-9]+)\|([^)]+)\)$/ {
|
|
model=$2
|
|
}
|
|
|
|
/^[ \t]*target="[^"]+"$/ {
|
|
match($0, "=\".+\"")
|
|
target=substr($0, RSTART+2, RLENGTH-3)
|
|
print target, model
|
|
}
|