Imported upstream version 1.5
[manpages-zh.git] / src / man1 / cal.1
blob1343da54c4579f322191887674ad7503d9d0865b
1 .\" Copyright (c) 1989, 1990, 1993
2 .\"     The Regents of the University of California.  All rights reserved.
3 .\" Chinese version Copyright (c) 苏勇  ysu@gnocis.org
4 .\"
5 .\" This code is derived from software contributed to Berkeley by
6 .\" Kim Letkeman.
7 .\"
8 .\" Redistribution and use in source and binary forms, with or without
9 .\" modification, are permitted provided that the following conditions
10 .\" are met:
11 .\" 1. Redistributions of source code must retain the above copyright
12 .\"    notice, this list of conditions and the following disclaimer.
13 .\" 2. Redistributions in binary form must reproduce the above copyright
14 .\"    notice, this list of conditions and the following disclaimer in the
15 .\"    documentation and/or other materials provided with the distribution.
16 .\" 3. All advertising materials mentioning features or use of this software
17 .\"    must display the following acknowledgement:
18 .\"     This product includes software developed by the University of
19 .\"     California, Berkeley and its contributors.
20 .\" 4. Neither the name of the University nor the names of its contributors
21 .\"    may be used to endorse or promote products derived from this software
22 .\"    without specific prior written permission.
23 .\"
24 .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
25 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
26 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
27 .\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
28 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
29 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
30 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
31 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
32 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
33 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34 .\" SUCH DAMAGE.
35 .\"
36 .\"     @(#)cal.1       8.1 (Berkeley) 6/6/93
37 .\"
38 .Dd June 6, 1993
39 .Dt CAL 1
40 .Os
41 .Sh NAME
42 .Nm cal
43 .Nd 显示一个日历
44 .Sh 总览
45 .Nm cal
46 .Op Fl mjy
47 .Op Ar 月份 Op Ar 年份
48 .Sh 描述
49 .Nm Cal
50 显示一个简单的日历.. 
51 如果没有指定参数, 则显示当前月份.
52 选项如下所列: 
53 .Bl -tag -width Ds
54 .It Fl m
55 显示星期一作为一周的第一天..
56 (缺省为星期日.)
57 .It Fl j
58 显示儒略历的(Julian)日期 (以 1 为基的天数, 从 1 月 1 日开始计数) .
59 .It Fl y
60 显示当前年份的日历.. 
61 .El
62 .Pp
63 一个单一的参数指定要显示的年份 (1 \- 9999) ;
64 注意年份必须被完全地指定: 
65 .Dq Li cal 89
66 .Em 不会
67 显示1989年的日历. 
68 两个参数表示月份 (1 \- 12) 和年份. 
69 如果没有指定参数, 则显示当前月份的日历. 
70 .Pp
71 一年从Jan 1 (1 月 1 日) 开始.
72 .Pp
73 格里高利历法改革(Gregorian Reformation)被认为发生于 1752 年 9 月 3 日.
74 在此之前, 多数国家已经认可这项改革(尽管有一些直到 20 世纪初才认可它).
75 那天之后的 10 天在这项改革被略去了, 所以那个月的日历有点不太寻常. 
76 .Sh 历史
77 一个
78 .Nm
79 命令出现于第6版 AT&T UNIX. 
81 .SH "[中文版维护人]"
82 .B 苏勇 <ysu@gnocis.org>
83 .SH "[中文版最新更新]"
84 .B 2001/07/15
85 .SH "《中国linux论坛man手册页翻译计划》:"
86 .BI http://cmpp.linuxforum.net