cal(1) changes

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

 



 I have committed two changes:

 * make it possible to specify month by name (according to locales)

    $ cal May 2017

 * accept timestamps / relative date

    $ cal '2 weeks ago'

    $ cal '+1year'

    $ cal 'tomorrow'

 We already have function to parse timestamps and I love it when use
 'git log --since', so why not use it for cal? (Note that timestamps
 are based on English and I think it's right thing (for KISS)).

 Comments?

    Karel

-- 
 Karel Zak  <kzak@xxxxxxxxxx>
 http://karelzak.blogspot.com
--
To unsubscribe from this list: send the line "unsubscribe util-linux" 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