Lists Home |
Date Index |
- From: "Stephen D. Williams" <email@example.com>
- To: Oren Ben-Kiki <firstname.lastname@example.org>
- Date: Tue, 30 Mar 1999 14:35:48 -0500
Yes, the pipe mechanism takes on whole new meaning with XML.
It wouldn't be all that large of a job to do a lot of it. Obviously adding --XML capabilities
wouldn't be that tough since it's simply adding labeling tags to output that is already
Even /proc/xml wouldn't be that hard for output, a little tougher for input, but allowed input
would be so restrictive that a simple regex parser would suffice for most things.
Hacking bash in an appropriate way is more difficult, however there is already an sgrep (SGML
grep) and external tools can handle all of this like Perl, Java, Tcl/TK.
I suppose what we need is a group to start standardizing a DTD that settles what to call
everything in a system (ports, network address, process/thread, user, etc.). That's probably
the biggest job.
Oren Ben-Kiki wrote:
> Stephen D. Williams <email@example.com> wrote:
> >A note on the /dev/proc/xml mention: I've been thinking for a while that
> EVERY data/meta-data
> >interface to a typical OS (such as Linux/Unix) should have an XML form.
> Maybe add or override
> >-X or --XML to all commands where it could possibly make sense. ps,
> netstat, lsof, ifconfig,
> >df, egrep, ls, etc. are all good candidates. Add simple tree/value
> extraction to bash and
> >you'd have more portability for a lot of things.
> Wouldn't that be great? The UNIX pipe model has suffered from not having a
> standard structured format, as has the /proc file system. Not to mention
> what this could do to an OS like Plan9 where "everything is a file" and
> textual formats abound...
> However this would be a major undertaking. Maybe someone in the GNU project
> would consider it, though.
> Have fun,
> Oren Ben-Kiki
> xml-dev: A list for W3C XML Developers. To post, mailto:firstname.lastname@example.org
> Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
> To (un)subscribe, mailto:email@example.com the following message;
> (un)subscribe xml-dev
> To subscribe to the digests, mailto:firstname.lastname@example.org the following message;
> subscribe xml-dev-digest
> List coordinator, Henry Rzepa (mailto:email@example.com)
OptimaLogic - Finding Optimal Solutions Web/Crypto/OO/Unix/Comm/Video/DBMS
firstname.lastname@example.org Stephen D. Williams Senior Consultant/Architect http://sdw.st
43392 Wayside Cir,Ashburn,VA 20147-4622 703-724-0118W 703-995-0407Fax 5Jan1999
xml-dev: A list for W3C XML Developers. To post, mailto:email@example.com
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:firstname.lastname@example.org the following message;
To subscribe to the digests, mailto:email@example.com the following message;
List coordinator, Henry Rzepa (mailto:firstname.lastname@example.org)