[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Libconf-dev] Re: shell template and whitespace around the =
From: |
Brian J. Murrell |
Subject: |
Re: [Libconf-dev] Re: shell template and whitespace around the = |
Date: |
14 Jun 2003 21:23:32 -0400 |
On Sat, 2003-06-14 at 21:09, address@hidden wrote:
> I would have tend to think that a more common rule would have been :
>
> key = \
> continuated line
Yes, indeed. This is a variant. One I like more in fact.
> If you are pretty sure that [ a line is the continuation of the previous if it
> start with \s] is the common rule for keyvalue typed file, then I'll include
> it.
Well, there are variants. I'll bet there are some that follow the rule
to continue with whitespace prefixed lines and some don't.
> That's right. Actually one day we'll have to figure out how to do tempalte
> inheritance...
Ha! I was thinking that myself. keyvalue is a subclass of shell,
pretty much. And variants that continue lines with \ and the end of the
line and continue lines with whitespace prefixed subsequent lines could
all be subclassed from a generic keyvalue.
> But before that, I'd like to implement validation, that is, being able to
> specify that this atom value should be an IP address, and know whate to do if
> it's not...
Good plan.
> and many other stuff :)
:-)
> OK, so to sum up, you suggest to have the keyvalue template to handle
> multiline
> like we descrived it, because it's a common rule, is that right?
I think it should handle both \ at the end and whitespace prefixed lines
subsequent. Generic.
b.
--
Brian J. Murrell <address@hidden>
signature.asc
Description: This is a digitally signed message part
- shell template and whitespace around the = (was Re: [Libconf-dev] CVS login broken?), (continued)
- shell template and whitespace around the = (was Re: [Libconf-dev] CVS login broken?), Brian J. Murrell, 2003/06/14
- [Libconf-dev] Re: shell template and whitespace around the =, dams, 2003/06/14
- [Libconf-dev] Re: shell template and whitespace around the =, Brian J. Murrell, 2003/06/14
- Re: [Libconf-dev] Re: shell template and whitespace around the =, dams, 2003/06/14
- Re: [Libconf-dev] Re: shell template and whitespace around the =, Brian J. Murrell, 2003/06/14
- Re: [Libconf-dev] Re: shell template and whitespace around the =, dams, 2003/06/14
- Re: [Libconf-dev] Re: shell template and whitespace around the =, Brian J. Murrell, 2003/06/14
- Re: [Libconf-dev] Re: shell template and whitespace around the =, dams, 2003/06/14
- Re: [Libconf-dev] Re: shell template and whitespace around the =, Brian J. Murrell, 2003/06/14
- Re: [Libconf-dev] Re: shell template and whitespace around the =, dams, 2003/06/14
- Re: [Libconf-dev] Re: shell template and whitespace around the =,
Brian J. Murrell <=
- Re: [Libconf-dev] Re: shell template and whitespace around the =, dams, 2003/06/14
- Re: [Libconf-dev] Re: shell template and whitespace around the =, dams, 2003/06/14
- Re: [Libconf-dev] Re: shell template and whitespace around the =, Brian J. Murrell, 2003/06/15