On Tue, 2012-08-28 at 12:51 -0600, Joe Topjian wrote: > Hi Pranith, > > On Tue, Aug 28, 2012 at 6:51 AM, Pranith Kumar Karampuri > <[email protected]> wrote: > Why not use --xml at the end of the command? That will > print the output in xml format. Would that make it easy to > parse?. > > > IMO, I can see --xml being useful for more "sophisticated" scripts > that utilize Perl, Python, or Ruby, however, for quick shell > scripting, I can see this being very difficult if not unusable. FWIW: I tend to agree on this point. The other question that comes to mind is what "quick" bash scripts are you writing for managing gluster?
Get curious, James > > > Having the output print in set columns, though might wrap when printed > on <=80 char terminals, would make it very easy to parse with awk. > > > Thanks, > Joe > _______________________________________________ > Gluster-users mailing list > [email protected] > http://gluster.org/cgi-bin/mailman/listinfo/gluster-users
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Gluster-users mailing list [email protected] http://gluster.org/cgi-bin/mailman/listinfo/gluster-users
