www.delorie.com/gnu/docs/gcal/gcal_3.html   search  
 
Buy GNU books!


Gcal 3.01

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

3. Invoking gcal

3.1 Command line arguments  
3.2 The GCAL environment variable  How to use the GCAL environment variable.

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

 
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 has occurred in 1752 on the 3rd of September. See section Genesis of the Gregorian Calendar, and Aspects in Internationalization, for further details.


  webmaster     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003