From mboxrd@z Thu Jan 1 00:00:00 1970 From: Martin Waitz Subject: Re: file as a directory Date: Tue, 30 Nov 2004 17:04:22 +0100 Message-ID: <20041130160422.GD19738@admingilde.org> References: <2c59f00304112205546349e88e@mail.gmail.com> <1101379820.2838.15.camel@grape.st-and.ac.uk> <41A773CD.6000802@namesys.com> <200411262213.58242.christian.mayrhuber@gmx.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="YZa61AII3s1sGKYx" Return-path: Content-Disposition: inline In-Reply-To: <200411262213.58242.christian.mayrhuber@gmx.net> Sender: linux-kernel-owner@vger.kernel.org List-Id: To: Christian Mayrhuber Cc: reiserfs-list@namesys.com, Hans Reiser , Peter Foldiak , Paolo Ciarrocchi , linux-kernel@vger.kernel.org --YZa61AII3s1sGKYx Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable hoi :) On Fri, Nov 26, 2004 at 10:13:57PM +0100, Christian Mayrhuber wrote: > Regarding namespace unification + XPath: > For files: cat /etc/passwd/[. =3D "joe"] should work like in XPath. > But what to do with directories? > Would 'cat /etc/[. =3D "passwd"]' output the contents of the passwd file > or does it mean to output the file '[. =3D "passwd"]'? > If the first is the case then you have to prohibit filenames looking=20 > 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. --=20 Martin Waitz --YZa61AII3s1sGKYx Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFBrJoFj/Eaxd/oD7IRAs31AJ4ynSBuVumNBZQrPn13EECm3Vj41gCeO9kX MsIXijRrPgphrX28LKWuuEE= =mo4r -----END PGP SIGNATURE----- --YZa61AII3s1sGKYx--