Go to the first, previous, next, last section, table of contents.


%?... special texts

The text part of a resource file line may contain 81 different special texts which may occur in any (54) number and order. All these texts start with a `%' (percent) character which may be protected by a leading `\' (backslash) character if the `%' (percent) character itself is wanted to be used in the text part, e.g. `\%'. The `%' character is trailed by a distinguishing mark -- which defines the kind of the special text to be used -- and if it is a letter, Gcal accepts it case-sensitive.

Mainly, the sense of these special texts is to suppress output of fixed dates in definite cases, either, or to provide them with particular texts respectively to start external commands. See section %?... Special Texts, for a complete description of all usable special texts, and section Summary of all %?... Special Texts, for an according short-list of them.

For example, the resource file `special.rc'

; I'm veracious very special :)
;
0 1. Today is %o , %u  %M  %Y !
0 2. It's the %#  day of the year.
0 3. The actual week number is: %k .
0 4. Currently, it's %t12 o'clock.

is displayed as follows (in case today's date is the 4th October 1996):

$ gcal --resource-file=special.rc -H no -ox
-|
-| Fr,   4 Oct 1996: 1. Today is Friday, 04th October 1996!
-|                   2. It's the 278th day of the year.
-|                   3. The actual week number is: 40.
-|                   4. Currently, it's 01:25am o'clock.


Go to the first, previous, next, last section, table of contents.