Re: Suggested dual human/binary interface for proc/devfs

From: George Bonser (grep@shorelink.com)
Date: Sun Apr 09 2000 - 16:57:40 EST


On 9 Apr 2000, Russ Allbery wrote:

> This is a good point to consider, but I've also found that when
> non-programmers try to use those configuration files, they get confused by
> the semicolons and keeping the newline is more intuitive for them. But I
> don't have a lot of experience here, so I could be drawing incorrect
> conclusions.

It just means with the semicolons:

group0 {
        item1=x;
        item2=y;
        subgroup1{
                item1=a;
                item2=b;
        };
        item3=c;
};
group1 {
        item1=z;
};

Is the same as:

group0{item1=x;item2=y;subgroup1{item1=a;item2=b};item3=c;};group1{item1=z;};

You can just ignore whitespace completely.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Apr 15 2000 - 21:00:12 EST