From: Jason L. <jl...@me...> - 2002-10-23 14:56:00
|
I see I'll have to explain in a little more detail :) First, as you suggested, a method of escaping those characters should be made available. Alternatively, we could allow users to quote the parts of the path, in which case the quotes could follow semantics matching that of the Unix shell. Second, the brackets are an attempt to simulate the selection mechanism available in XPath. XPath exists to identify elements in an XML document. Inside the brackets you can enter criteria for which node to select. In Config4GNU you may enter the criteria [comment=blah] would select the node that has a property named comment and with a value of "blah". If you don't specify a property name and the equals sign, it defaults to searching for a node with the specified name. So the fact that Samba uses brackets and that this path syntax uses brackets is kind of coincidental. Jason |