[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XML query language and another OS/XML suggestion
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 formatted. 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. sdw Oren Ben-Kiki wrote: > Stephen D. Williams <sdw@l...> 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:xml-dev@i... > Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1 > To (un)subscribe, mailto:majordomo@i... the following message; > (un)subscribe xml-dev > To subscribe to the digests, mailto:majordomo@i... the following message; > subscribe xml-dev-digest > List coordinator, Henry Rzepa (mailto:rzepa@i...) -- OptimaLogic - Finding Optimal Solutions Web/Crypto/OO/Unix/Comm/Video/DBMS sdw@l... 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:xml-dev@i... Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1 To (un)subscribe, mailto:majordomo@i... the following message; (un)subscribe xml-dev To subscribe to the digests, mailto:majordomo@i... the following message; subscribe xml-dev-digest List coordinator, Henry Rzepa (mailto:rzepa@i...)
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|