[patch] the first Sunday of the week...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

From 6347565f57121f28ca66ebdc715830e0dfe03f22 Mon Sep 17 00:00:00 2001
From: Benno Schulenberg <bensberg@xxxxxxxxxxxxx>
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@xxxxxxxxxxxxx>
---
 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


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux