Compare commits
No commits in common. "d366245c2df0ffc0d3d0351017950424da24141a" and "967e17e224b43f322ae83152a94d7348d81f75e6" have entirely different histories.
d366245c2d
...
967e17e224
1 changed files with 6 additions and 6 deletions
12
sh/code.awk
12
sh/code.awk
|
@ -77,9 +77,9 @@ BEGIN {
|
||||||
if (match($0, RE_ALIAS, m)) {
|
if (match($0, RE_ALIAS, m)) {
|
||||||
append(m[1])
|
append(m[1])
|
||||||
} else if (match($0, RE_FUNCTION, m)) {
|
} else if (match($0, RE_FUNCTION, m)) {
|
||||||
split(doc, array, "\n")
|
n = split(doc, array, "\n")
|
||||||
for (item in array) {
|
for (i = 1; i<= n; i++) {
|
||||||
print array[item] " " m[1]
|
print array[i] " " m[1]
|
||||||
}
|
}
|
||||||
reset()
|
reset()
|
||||||
} else {
|
} else {
|
||||||
|
@ -89,9 +89,9 @@ BEGIN {
|
||||||
if (match($0, RE_COMMAND, m)) {
|
if (match($0, RE_COMMAND, m)) {
|
||||||
append(m[1])
|
append(m[1])
|
||||||
} else if (match($0, RE_FUNCTION, m)) {
|
} else if (match($0, RE_FUNCTION, m)) {
|
||||||
split(doc, array, "\n")
|
n = split(doc, array, "\n")
|
||||||
for (item in array) {
|
for (i = 1; i<= n; i++) {
|
||||||
print array[item] " " m[1]
|
print array[i] " " m[1]
|
||||||
}
|
}
|
||||||
reset()
|
reset()
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue