projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix a small bug in the parse-config script
[openwrt/openwrt.git]
/
openwrt
/
package
/
base-files
/
default
/
usr
/
lib
/
parse-config.awk
diff --git
a/openwrt/package/base-files/default/usr/lib/parse-config.awk
b/openwrt/package/base-files/default/usr/lib/parse-config.awk
index cf1b09c58cdfa972b88a0a23b8ecf7939d28b750..9ce32b74ffbaa79180fb213212b9f86d9b30ad3b 100644
(file)
--- a/
openwrt/package/base-files/default/usr/lib/parse-config.awk
+++ b/
openwrt/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]