From owner-svn-src-head@freebsd.org Sat Jun 9 04:40:19 2018 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 039C2FFB7E9; Sat, 9 Jun 2018 04:40:18 +0000 (UTC) (envelope-from eadler@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A581E8418E; Sat, 9 Jun 2018 04:40:18 +0000 (UTC) (envelope-from eadler@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 86DAA19172; Sat, 9 Jun 2018 04:40:18 +0000 (UTC) (envelope-from eadler@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w594eIv3028299; Sat, 9 Jun 2018 04:40:18 GMT (envelope-from eadler@FreeBSD.org) Received: (from eadler@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w594eIW1028298; Sat, 9 Jun 2018 04:40:18 GMT (envelope-from eadler@FreeBSD.org) Message-Id: <201806090440.w594eIW1028298@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: eadler set sender to eadler@FreeBSD.org using -f From: Eitan Adler Date: Sat, 9 Jun 2018 04:40:18 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r334873 - head/usr.bin/ncal X-SVN-Group: head X-SVN-Commit-Author: eadler X-SVN-Commit-Paths: head/usr.bin/ncal X-SVN-Commit-Revision: 334873 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jun 2018 04:40:19 -0000 Author: eadler Date: Sat Jun 9 04:40:17 2018 New Revision: 334873 URL: https://svnweb.freebsd.org/changeset/base/334873 Log: ncal: correct history section originally reported Todd C. Miller[0] Additional data see [1][2]. While here, pet igor. Closes #152 (github pr) Sbmitted by: Raf Czlonka [0] http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/cal/cal.1?rev=1.28&content-type=text/x-cvsweb-markup [1] https://www.bell-labs.com/usr/dmr/www/1stEdman.html [2] https://www.bell-labs.com/usr/dmr/www/man61.pdf Modified: head/usr.bin/ncal/ncal.1 Modified: head/usr.bin/ncal/ncal.1 ============================================================================== --- head/usr.bin/ncal/ncal.1 Sat Jun 9 04:05:18 2018 (r334872) +++ head/usr.bin/ncal/ncal.1 Sat Jun 9 04:40:17 2018 (r334873) @@ -24,7 +24,7 @@ .\" .\" $FreeBSD$ .\" -.Dd March 14, 2009 +.Dd June 08, 2018 .Dt CAL 1 .Os .Sh NAME @@ -154,15 +154,18 @@ note the year must be fully specified: .Dq Li cal 89 will .Em not -display a calendar for 1989. Two parameters denote the month and +display a calendar for 1989. +Two parameters denote the month and year; the month is either a number between 1 and 12, or a full or -abbreviated name as specified by the current locale. Month and +abbreviated name as specified by the current locale. +Month and year default to those of the current system clock and time zone (so .Dq Li cal -m 8 will display a calendar for the month of August in the current year). .Pp -Not all options can be used together. For example +Not all options can be used together. +For example .Dq Li -3 -A 2 -B 3 -y -m 7 would mean: show me the three months around the seventh month, three before @@ -180,7 +183,7 @@ Highlighting of dates is disabled if stdout is not a t A .Nm command appeared in -.At v5 . +.At v1 . The .Nm ncal command appeared in