536 |
A single field name may appear here. Only the contents of this field |
A single field name may appear here. Only the contents of this field |
537 |
will be displayed. |
will be displayed. |
538 |
|
|
539 |
@item "printf string" fieldname fieldname ... |
@item '"printf string" fieldname fieldname ...' |
540 |
This provides a very flexible mechanism for formatting PR output. (The |
This provides a very flexible mechanism for formatting PR output. (The |
541 |
formatting is identical to that provided by the named formats described |
formatting is identical to that provided by the named formats described |
542 |
by the database configuration, @xref{Named query definitions}. The |
by the database configuration, @xref{Named query definitions}. The |
567 |
format. |
format. |
568 |
@end table |
@end table |
569 |
|
|
570 |
|
An example formatted query looks as follows (note that the whole format |
571 |
|
specification should be quoted): |
572 |
|
|
573 |
|
@smallexample |
574 |
|
query-pr --format '"%s, %s" Synopsis State' |
575 |
|
@end smallexample |
576 |
|
|
577 |
@node Query expressions |
@node Query expressions |
578 |
@subsection Query expressions |
@subsection Query expressions |
579 |
@cindex query expressions |
@cindex query expressions |