1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-07-07 17:13:16 +03:00

fix a small bug in the parse-config script

git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4969 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2006-10-08 19:16:04 +00:00
parent 27d5e95f5c
commit 91ef5b68e2

View File

@ -27,7 +27,7 @@ $1 == "@else" {
else noprint = 1 else noprint = 1
} }
($1 !~ /^@/) && (noprint != 1) { ($1 !~ /^@[a-zA-Z]/) && (noprint != 1) {
n=split(line "@@", a, /@@/) n=split(line "@@", a, /@@/)
for (i=1; i<=n; i++) { for (i=1; i<=n; i++) {
if ((i % 2) == 1) printf a[i] if ((i % 2) == 1) printf a[i]