On Fri, 2008-07-11 at 11:43 +0200, Raphaël Pinson wrote: > The problem is that a tree with two adjacent host nodes can > either be > processed as one 'record' that has two hosts or as two > 'record' > instances with one host each, i.e. in the first case the > correct output > would be > host1 host2 > whereas in the second, the correct output would be > host1 > host2 > (since record ends with a eol_no_spc) > > > > What I don't really get is that I think I specify a record as > something that looks like > ! myhost;a;b;c;d;e;f > > or > > myhost;a;b;c;d;e;f > > as in, there _must_ be semi-colons on each record line, so a line like > 'host/host/' is just not possible in this lens. Am I missing something > to specify this ?
The complaint is about the tree -> file direction, and the semicolons get dropped from the tree; Augeas needs to decide just by looking at the tree which rule to follow. Your lens works fine in the file -> tree direction, it's the tree -> file direction that is ambiguous. David _______________________________________________ augeas-devel mailing list [email protected] https://www.redhat.com/mailman/listinfo/augeas-devel
