From: Felix Fietkau Date: Sun, 8 Oct 2006 19:16:04 +0000 (+0000) Subject: fix a small bug in the parse-config script X-Git-Tag: whiterussian_rc6~101 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=fc2fcbca75af5a4acdf2c85fc2c4e57d976fdb68;p=openwrt%2Fsvn-archive%2Fopenwrt.git fix a small bug in the parse-config script SVN-Revision: 4969 --- 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 cf1b09c58c..9ce32b74ff 100644 --- 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]