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: reboot~30718^2~62 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=fa5f540924c169d557370cea134c908cf3b0bb34;p=oweals%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]