Garrett D'Amore wrote:
> I have three letters, which may be unpopular:
>
> X-M-L
If a goal is easy parsability with sh scripts, this fails a basic
sanity test - unless one uses Roland's TBD libcompoundvar.so.1
If shell parsing wasn't a goal, I'd push JSON or csv formats; things
that are too complicated for such a tabular representation are probably
not really good candidates for the "-p -o xx,yy,zz" design pattern...
On the other hand, take a look at what Yahoo has done with their Pipes
concept to decouple the source format from the content:
http://pipes.yahoo.com/pipes/
Pipes is a powerful composition tool to aggregate,
manipulate, and mashup content from around the web.
Like Unix pipes, simple commands can be combined
together to create output that meets your needs:
* combine many feeds into one, then sort, filter and
translate it.
* geocode your favorite feeds and browse the items on
an interactive map.
* power widgets/badges on your web site.
* grab the output of any Pipes as RSS, JSON, KML,
and other formats.
-John