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


Invoking tcal

The tcal program runs gcal with the date of tomorrow's day (62). Its arguments are as follows:

tcal [--help | --version] | [--shift=[+|-]number] [Argument...]

All given arguments are passed unmodified to the Gcal program. If the Gcal program shall be called with another date than tomorrow's date, this desired date can be selected by using the `--shift=[+|-]number' option, in which `[+|-]number' is the distance of days the desired date is distant from the actual system date (==today). (Works only for Gregorian years.) The `--shift' option must be given before all other arguments that are passed to the Gcal program.

In case a GCALPROG environment variable (see section Environment Variables) is defined and set with the file name of the executable Gcal program, tcal will use this file name for calling Gcal. Otherwise, the file name gcal -- which is burned-in during the compilation step of tcal -- is used for calling the Gcal program. An exit status of 0 means all processing is successfully done, any other value means an error has occurred.

The program accepts the following options:

`--help'
Print a usage message listing all available options, then exit successfully.
`--version'
Print the version number, then exit successfully.
`--shift=[+|-]number'
Define the displacement in `[+|-]number' days the desired date is distant from the actual date.


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