time: Format String

1 
1 1.2 The Format String
1 =====================
1 
1 The "format string" controls the contents of the 'time' output.  It
1 consists of "resource specifiers" and "escapes", interspersed with plain
1 text.
1 
1    A backslash introduces an "escape", which is translated into a single
1 printing character upon output.  The valid escapes are listed below.  An
1 invalid escape is output as a question mark followed by a backslash.
1 
1 '\t'
1      a tab character
1 
1 '\n'
1      a newline
1 
1 '\\'
1      a literal backslash
1 
1    'time' always prints a newline after printing the resource use
1 information, so normally format strings do not end with a newline
1 character (or '\n').
1 
1    A resource specifier consists of a percent sign followed by another
1 character.  An invalid resource specifier is output as a question mark
1 followed by the invalid character.  Use '%%' to output a literal percent
1 sign.
1 
1    The resource specifiers, which are a superset of those recognized by
1 the 'tcsh' builtin 'time' command, are listed below.  Not all resources
1 are measured by all versions of Unix, so some of the values might be
1 reported as zero (⇒Accuracy).
1 

Menu