.\" Copyright (c) 1989, 1990, 1993 .\" The Regents of the University of California. All rights reserved. .\" Chinese version Copyright (c) 蘇勇 ysu@gnocis.org .\" .\" This code is derived from software contributed to Berkeley by .\" Kim Letkeman. .\" .\" Redistribution and use in source and binary forms, with or without .\" modification, are permitted provided that the following conditions .\" are met: .\" 1. Redistributions of source code must retain the above copyright .\" notice, this list of conditions and the following disclaimer. .\" 2. Redistributions in binary form must reproduce the above copyright .\" notice, this list of conditions and the following disclaimer in the .\" documentation and/or other materials provided with the distribution. .\" 3. All advertising materials mentioning features or use of this software .\" must display the following acknowledgement: .\" This product includes software developed by the University of .\" California, Berkeley and its contributors. .\" 4. Neither the name of the University nor the names of its contributors .\" may be used to endorse or promote products derived from this software .\" without specific prior written permission. .\" .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE .\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" .\" @(#)cal.1 8.1 (Berkeley) 6/6/93 .\" .TH CAL 1 "June 6, 1993" .SH NAME cal, ncal \- 顯示一個日曆 .SH 總覽 .B cal [ .B -mjy ] [ .IR 月份 ] [ .IR 年份 ] .SH 描述 顯示一個簡單的日曆.. 如果沒有指定引數, 則顯示當前月份. 選項如下所列: .IP -m 顯示星期一作為一週的第一天.. (預設為星期日.) .IP -j 顯示儒略曆的(Julian)日期 (以 1 為基的天數, 從 1 月 1 日開始計數) . .IP -y 顯示當前年份的日曆.. .PP 一個單一的引數指定要顯示的年份 (1 \- 9999) ; 注意年份必須被完全地指定: .B cal 89 .IR 不會 顯示1989年的日曆. 兩個引數表示月份 (1 \- 12) 和年份. 如果沒有指定引數, 則顯示當前月份的日曆. .PP 一年從Jan 1 (1 月 1 日) 開始. .PP 格里高利曆法改革(Gregorian Reformation)被認為發生於 1752 年 9 月 3 日. 在此之前, 多數國家已經認可這項改革(儘管有一些直到 20 世紀初才認可它). 那天之後的 10 天在這項改革被略去了, 所以那個月的日曆有點不太尋常. .SH 參見 .BR calendar (3), .BR strftime (3) .SH 歷史 一個 命令出現於第6版 AT&T UNIX. .SH "[中文版維護人]" .B 蘇勇 .SH "[中文版最新更新]" .B 2001/07/15 .SH "《中國linux論壇man手冊頁翻譯計劃》:" .BI http://cmpp.linuxforum.net .SH "跋" .br 本頁面中文版由中文 man 手冊頁計劃提供。 .br 中文 man 手冊頁計劃:\fBhttps://github.com/man-pages-zh/manpages-zh\fR