On Tue, May 27, 2025 at 03:22:56PM -0400, Allan Streib wrote:
> On Tue, May 27, 2025, at 15:20, Allan Streib wrote:
> > The man page for calendar says:
> >
> > Other lines should begin with a month and day.
> 
> Sorry, fat fingered and sent before completing my thought.
> 
> This implies that year is ignored. Looking at files in /usr/share/calendar
> also supports this.
> 
> Allan
> 

As Richard, I missed the implication, especially as the description of the '-t'
option discusses the year format.

Maybe an additional sentence in the man page won't do no harm ?


Index: calendar.1
===================================================================
RCS file: /cvs/src/usr.bin/calendar/calendar.1,v
diff -u -p -u -p -r1.45 calendar.1
--- calendar.1  21 Feb 2025 19:04:34 -0000      1.45
+++ calendar.1  28 May 2025 05:17:54 -0000
@@ -130,7 +130,8 @@ A day without a month matches that day o
 A month without a day matches the first of that month.
 Two numbers default to the month followed by the day.
 Lines with leading tabs default to the last entered date, allowing
-multiple line specifications for a single date.
+multiple line specifications for a single date. A year can be specified, but
+it will be ignored in the output.
 .Dq Easter
 (may be followed by a positive or negative integer) is Easter for this year.
 .Dq Paskha

Reply via email to