Re: [PATCH] cal: add an option to control highlight date

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

 



On Mon, Sep 10, 2007 at 10:22:53AM +0100, Pádraig Brady wrote:
> Li Zefan wrote:
> >> both -v and -h are bad (sounds like verbose and help).
> > 
> > Then how about -H ? Normally we don't use -H to print help information, do we?
> > 
> >> cal [[[dd] month] year]
> > 
> > Sounds good, we can print a calendar for the year with a date highlighted:
> > 
> >     cal -y dd mm yy
> 
> yes
> 
> > But for the current implementation, this won't print a calendar for the whole
> > year:
> > 
> >     cal -y mm yy
> > 
> > So it will be inconsistant ?
> 
> I wouldn't worry about that inconsistancy.
> But I notice that `cal` from bsdmanutils on debian
> does print the whole year for this case.
> So I would modify util-linux-ng cal to do that also.

 So go ahead ;-)

> Highlighting "Fri next week" is just taking it
> too far I think.

 I agree, please, ignore this idea for now.

    Karel

-- 
 Karel Zak  <kzak@xxxxxxxxxx>
-
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[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