From: Greg Ercolano <erco@(email surpressed)>
Subject: Re: custom rush -laj report columns
   Date: Wed, 30 May 2007 21:09:15 -0400
Msg# 1567
View Complete Thread (3 articles) | All Threads
Last Next
Greg Ercolano wrote:
> 	In the 102.43 release, all the info currently available in
> 	'rush -ljf' and 'rush -lfi' would be available as column data
> 	in 'rush -lj' via the -fmt command line option:
> 
> 		rush -lj -fmt "Status:8 Jobid:8 Title" +any
> 
> 	..where the number represents the column width, and the string
> 	before the ':' are documented keywords.

   For those wondering about specifics for this syntax, the current
   synopsis for the formatting is:

	<keyword>[:<pad>[.<trunc>]]

   The column width or <pad> value is similar to printf();
   it is an optional signed value; positive values flush left,
   negative values flush right.  <pad> can optionally be followed
   by .<trunc>, where <trunc> is a truncation width.. again,
   similar to printf().

   Multiple keywords are separated by whitespace, which will
   be preserved in the report. <keyword> will be shown verbatim
   as the column's heading. A list of all the keywords is forthcoming,
   and will be in the docs.

   Regarding percentages, I offer both, where the keywords are named
   eg. %Que, Que% and QuePercent (the latter not printing any percent
   sign).

-- 
Greg Ercolano, erco@(email surpressed)
Rush Render Queue, http://seriss.com/rush/
Tel: (Tel# suppressed)
Fax: (Tel# suppressed)
Cel: (Tel# suppressed)

Last Next