projects
/
15.05
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc28b0b
)
fix a small bug in the parse-config script
author
Felix Fietkau
<nbd@openwrt.org>
Sun, 8 Oct 2006 19:16:04 +0000
(19:16 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Sun, 8 Oct 2006 19:16:04 +0000
(19:16 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4969
3c298f89
-4303-0410-b956-
a3cf2f4a3e73
package/base-files/default/usr/lib/parse-config.awk
patch
|
blob
|
history
diff --git
a/package/base-files/default/usr/lib/parse-config.awk
b/package/base-files/default/usr/lib/parse-config.awk
index
cf1b09c
..
9ce32b7
100644
(file)
--- a/
package/base-files/default/usr/lib/parse-config.awk
+++ b/
package/base-files/default/usr/lib/parse-config.awk
@@
-27,7
+27,7
@@
$1 == "@else" {
else noprint = 1
}
-($1 !~ /^@/) && (noprint != 1) {
+($1 !~ /^@
[a-zA-Z]
/) && (noprint != 1) {
n=split(line "@@", a, /@@/)
for (i=1; i<=n; i++) {
if ((i % 2) == 1) printf a[i]