hoi :) On Fri, Nov 26, 2004 at 10:13:57PM +0100, Christian Mayrhuber wrote: > Regarding namespace unification + XPath: > For files: cat /etc/passwd/[. = "joe"] should work like in XPath. > But what to do with directories? > Would 'cat /etc/[. = "passwd"]' output the contents of the passwd file > or does it mean to output the file '[. = "passwd"]'? > If the first is the case then you have to prohibit filenames looking > like '[foo bar]'. perhaps we should create a XML/XPath shell and a replacement for the textutils package instead of implementing all these utilities inside the kernel. Then convert /etc/passwd to /etc/passwd.xml and all is well. -- Martin Waitz