I thought the header rows defined what the format of the output was. Its a bit 
weird as there can be multiple header rows for different content rows ...

Simon

From: 
<[email protected]<mailto:[email protected]>>
 on behalf of Marc A Kaplan <[email protected]<mailto:[email protected]>>
Reply-To: 
"[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Date: Tuesday, 28 March 2017 at 17:14
To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Subject: Re: [gpfsug-discuss] -Y option for many commands, precious few 
officially!

Just looking/scanning the latest (4.2.2) Spectrum Scale Command (and 
Programming) Reference I only found a few commands that officially are 
documented as supporting a -Y option:  mmnfs, mmsmb, mmuserauth.

But as many of you have discovered, -Y is accepted and yields "interesting" 
output for many of the mmXXXX commands.
Moreover the output *seems to* have easily discernible patterns that can be 
parsed by simple programs.

I believe there is no guarantee that the exact command output formats will not 
change from release to release, so, as a practical matter, if you're going to 
parse command output, you're probably better off parsing the -Y output, even if 
that is not officially supported.

_______________________________________________
gpfsug-discuss mailing list
gpfsug-discuss at spectrumscale.org
http://gpfsug.org/mailman/listinfo/gpfsug-discuss

Reply via email to