[OmniOS-discuss] Fwd: [developer] Review request: 7948 Remove old calendar utility

Peter Tribble peter.tribble at gmail.com
Wed Mar 8 11:05:18 UTC 2017


On Wed, Mar 8, 2017 at 1:41 AM, Tim Rice <tim at multitalents.net> wrote:

>
> Hi Dan,
>
> On Tue, 7 Mar 2017, Dan McDonald wrote:
>
> > Not to be confused with cal(1), but does anyone here use calendar(1)?
>
> I use it here in my mail zone.
>

Ouch.


> > Trying to gauge how hard I should try to replace it or not.
>
> It would not be anywhere near as anoying to lose it as it was to
> discover bind was missing. ;-)
>

I'm trying to understand the impact here - if it's bad then I'll look
again.

If you know the format of your calendar file, then something like

grep "^`date '+%D'`" ~/calendar

or

grep "^`date '+%b %e'`" ~/calendar

ought to do more or less the same thing.

-- 
-Peter Tribble
http://www.petertribble.co.uk/ - http://ptribble.blogspot.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://omniosce.org/ml-archive/attachments/20170308/c30586d1/attachment.html>


More information about the OmniOS-discuss mailing list