repo.or.cz
/
kugel-rb.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Check if creating the dictionary worked before accessing it, not afterwards.
[kugel-rb.git]
/
tools
/
checkwps
/
parse_configure.awk
blob
0cb0c0b39201d0028ea61ac455c2accc96349349
1
BEGIN
{
FS
=
"[|)]"
}
2
3
/
^
[
\t
]*([
0
-
9
]+)
\
|([
^
)]+)
\
)
$
/ {
4
model=$
2
5
}
6
7
/
^
[
\t
]*
target=
"[^"
]+
"$/ {
8
match($0, "
-
D
[
^
\"
]+
")
9
target=substr($0, RSTART+2, RLENGTH-2)
10
print target, model
11
}