public inbox for util-linux@vger.kernel.org
 help / color / mirror / Atom feed
* [patch] the first Sunday of the week...
@ 2013-12-21 17:23 Benno Schulenberg
  2014-01-06 11:43 ` Karel Zak
  0 siblings, 1 reply; 2+ messages in thread
From: Benno Schulenberg @ 2013-12-21 17:23 UTC (permalink / raw)
  To: Util-Linux

[-- Attachment #1: Type: text/plain, Size: 322 bytes --]


Hi,

The man page of cal speaks of "first Sunday of the week"
instead of of "first Sunday of the year".  Attached patch
fixes this, and tries to further improve the clarity of the
paragraph.

Benno

-- 
http://www.fastmail.fm - Faster than the air-speed velocity of an
                          unladen european swallow


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-docs-in-cal-s-man-page-admit-that-any-week-has-just-.patch --]
[-- Type: text/x-patch; name="0001-docs-in-cal-s-man-page-admit-that-any-week-has-just-.patch", Size: 1555 bytes --]

From 6347565f57121f28ca66ebdc715830e0dfe03f22 Mon Sep 17 00:00:00 2001
From: Benno Schulenberg <bensberg@justemail.net>
Date: Sat, 21 Dec 2013 18:15:14 +0100
Subject: [PATCH] docs: in cal's man page admit that any week has just one Sunday

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
---
 misc-utils/cal.1 |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/misc-utils/cal.1 b/misc-utils/cal.1
index fa79f91..860f708 100644
--- a/misc-utils/cal.1
+++ b/misc-utils/cal.1
@@ -108,11 +108,11 @@ September. By this time, most countries had recognized the reformation
 following that date were eliminated by the reformation, so the calendar for
 that month is a bit unusual.
 .PP
-The week numbering depends on the first day of the week. If Sunday (the
-default) is used for the first day of the week, then the customary North
-American numbering will be used, i.e. first Sunday of the week starts the
-first week. If Monday is selected, then the ISO-8601 standard week numbering
-is used, where the first Thursday is in week number 1.
+The week numbering depends on the choice of the first day of the week.  If Sunday
+(the default) is used for the first day of the week, then the customary North
+American numbering will be used, i.e. the first Sunday of the year starts the
+first week.  If Monday is selected, then the ISO-8601 standard week numbering
+is used, where the first Thursday of the year is in week number 1.
 .SH HISTORY
 A cal command appeared in Version 6 AT&T UNIX.
 .SH AVAILABILITY
-- 
1.7.0.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [patch] the first Sunday of the week...
  2013-12-21 17:23 [patch] the first Sunday of the week Benno Schulenberg
@ 2014-01-06 11:43 ` Karel Zak
  0 siblings, 0 replies; 2+ messages in thread
From: Karel Zak @ 2014-01-06 11:43 UTC (permalink / raw)
  To: Benno Schulenberg; +Cc: Util-Linux

On Sat, Dec 21, 2013 at 06:23:05PM +0100, Benno Schulenberg wrote:
>  misc-utils/cal.1 |   10 +++++-----
>  1 files changed, 5 insertions(+), 5 deletions(-)

 Applied, thanks.

-- 
 Karel Zak  <kzak@redhat.com>
 http://karelzak.blogspot.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-01-06 11:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-21 17:23 [patch] the first Sunday of the week Benno Schulenberg
2014-01-06 11:43 ` Karel Zak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox