Some utilities use XML output too, i.e. lustatus -X Great extensibility, self-describing, etc. but not easy to parse with shell scripts...
Gordon > Peter Memishian wrote: > > > Architectural "bigger than nit": > > > > > > The question of having a common "parsable format" across > > > As for the generation code: in my experience, this is harder > > My frustration is that we don't have a "grammer" for this > parsable format that can be used as a design pattern for ALL > of our utilities. This leads to statements like Seb's (from > his original proposal): > > We propose that parseable output ... similar to ... > > I don't want dozens of OpenSolaris utilities that all support > some form of "-o" and "-p" CLI arguments to all generate output > grammars that are similar to (but not quite exactly the same as) > all the others. [...]
