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

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

 



> 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

But for the current implementation, this won't print a calendar for the whole
year:

    cal -y mm yy

So it will be inconsistant ?

> Maybe we can also implement:
>
>   cal +1m      --> current date +1 month
>   cal +1d +1w  --> Fri next week (today is Thu)

Seems not tough to implement this functionality. :)


---
Li Zefan

-
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