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


Invoking gcal

Gcal is a command line oriented program. It is usually called from the shell (4) and processes given arguments that are options and commands. Options must be given before commands, i.e. you must call Gcal in this way:

gcal [ [option...] [%date] [@file...] ]  [command]

If Gcal is started without any options or commands, a calendar of the current month is displayed. If the calendar of a definite year is wanted, the year must be fully specified, e.g. `gcal 94' displays a year calendar of the year 94, not of the year 1994.

If two arguments are given in the command part, the first argument denotes the month, and the second argument denotes the year. In case any incorrect commands are given running Gcal, the program will use internal defaults.

In the English program version, Gcal assumes the Gregorian Reformation have occurred in 1752 on the 3rd of September. See section Genesis of the Gregorian Calendar, and section Aspects in Internationalization, for more details.


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