mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 10:07:38 -04:00
16 lines
261 B
Awk
16 lines
261 B
Awk
BEGIN { FS="[|)]" }
|
|
|
|
/^[ \t]*([0-9]+)\|([^)]+)\)$/ {
|
|
model=$2
|
|
blonly="no"
|
|
}
|
|
|
|
/^[ \t]*blonly="[^"]+"$/ {
|
|
blonly="yes"
|
|
}
|
|
|
|
/^[ \t]*target="[^"]+"$/ {
|
|
match($0, "=\".+\"")
|
|
target=substr($0, RSTART+2, RLENGTH-3)
|
|
print target, model, blonly
|
|
}
|