Format strings

A format string can consist of a number of string literals or keywords or string literals and keywords. When a format string is processed, it is represented in the command output by an expanded (unchanged) string.

For example, the format string "Release=%release" consists of two parts: the string literal "Release=" and the keyword %release. For each reported object, the string literal is displayed in the output and the keyword is replaced with a string representation of the release property of the object. A command that reports on three objects might show this output:

  • Release=client/1.0
  • Release=client/2.0
  • Release=server/1.0

Feedback