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