1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62
|
/*
* README - Unix cal-like interface to libjalali.
* Copyright (C) 2006, 2007, 2009, 2010, 2011 Ashkan Ghassemi.
*
* This file is part of jcal.
*
* jcal is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* jcal is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with jcal. If not, see <http://www.gnu.org/licenses/>.
*/
jcal is a UNIX cal-like tool to display calendar
based on jalali calendar system.
jdate is UNIX date-like tool to display date and time
based on jalali calendar system
jcal switches in brief:
-y Display a calendar for the current year.
-p Display Farsi names and numbers.
-P Display year based on Pahlavi epoch.
-e Display English names for weekdays.
-j Display Julian dates (days one-based, numbered from Farvardin 1).
-1 Display single month output. (This is the default.)
-3 Display prev/current/next months output.
-V Display calendar version.
See man jcal for more information.
jdate switches in brief:
-a Display the last access time for a file.
-r Display the last modification time for a file.
-d Interpret date according to date-string instead of ``now''.
-R Ouput in RFC2822 format.
-u Display Coordinated Universal Time.
-h Display help.
-V Display version.
If you're experiencing troubles, compiling the package with GNU's
build system then keep reading.
Installation
============
Run ./autogen.sh to make `configure` script for you. Then follow common
package installation routine as described in INSTALL.
If you want pyjalali package too, you can either pass `--enable-pyjalali`
option to ./configure script or after installing libjalali use provided
`setup.py` directly:
# cd jcal/sources
# python setup.py install
|