This commit is contained in:
parent
b108ace00a
commit
0926d058f5
1 changed files with 9 additions and 1 deletions
10
sh/code.awk
10
sh/code.awk
|
@ -55,7 +55,7 @@ BEGIN {
|
|||
}
|
||||
} else if (action == "binaries") {
|
||||
if (match($0, RE_BINARY, m)) {
|
||||
print m[1]
|
||||
binaries[m[1]] = ""
|
||||
}
|
||||
} else if (action == "commands") {
|
||||
if (match($0, RE_COMMAND, m)) {
|
||||
|
@ -148,3 +148,11 @@ BEGIN {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
END {
|
||||
if (action == "binaries") {
|
||||
for (binary in binaries) {
|
||||
print binary
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue