I have had $SQUEUE_FORMAT set in my environment for a long time, but have only 
today learnt that sacct will also listen to an environment variable to set a 
default output format. Previously I had only looked for it in the Environment 
Variables section of the sacct man page, which doesn't list it; today I noticed 
that $SACCT_FORMAT is mentioned under -o in the main body of the man page.

It would be good to add it to the list of influential environment variables, 
e.g., as below.

    John


diff --git a/doc/man/man1/sacct.1 b/doc/man/man1/sacct.1
index d6c3012552..2db283c691 100644
--- a/doc/man/man1/sacct.1
+++ b/doc/man/man1/sacct.1
@@ -1037,6 +1037,9 @@ Commandline options will always override these settings.)
 \fBSACCT_FEDERATION\fR
 Same as \fB\-\-federation\fR
 .TP
+\fBSACCT_FORMAT\fR
+Same as \fB\-o\fR, \fB\-\-format\fR
+.TP
 \fBSACCT_LOCAL\fR
 Same as \fB\-\-local\fR
 .TP


Reply via email to