X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/ed5ef674d100ca0ffa8bc00160718f69af5515c3..6dfd012e6828e3ab2995e17b5af3201f65f2cfc2:/package/base-files/default/usr/lib/parse-config.awk diff --git a/package/base-files/default/usr/lib/parse-config.awk b/package/base-files/default/usr/lib/parse-config.awk index cf1b09c58..9ce32b74f 100644 --- 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]