Source-Changes archive

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

Re: CVS commit: basesrc/usr.bin/cal



On Mon, 24 Jun 2002, YAMAMOTO Takashi wrote:
> > YAMAMOTO Takashi <yamt%mwd.biglobe.ne.jp@localhost> writes:
> > > i've seen cal that accept "-3" option as meaning Hubert said.
> > > (maybe on one of linux distributions)
> > > i think there is no reason not to follow precedents
> > > especially when we use the same option.
> >
> > Ah, that is different. I'd rather not violate precedent. Could you
> > find me an instance of this code so I can try to make us compatible?
>
> http://www.kernel.org/pub/linux/utils/util-linux/util-linux-2.11r.tar.bz2
> http://home.sprynet.com/~cbagwell/cal-4.0.tar.gz
> these ones accept "-3" as "prev/current/next month".

Thinking about it a bit more, one could also implement "display N months
before/M months after" switches, similar to grep 's -A/-B switches.

And make -3 a synonym for -A1 -B1.


 - Hubert

-- 
Want to get a clue on IPv6 but don't know where to start? Try this:
* Basics -> http://www.onlamp.com/pub/a/onlamp/2001/05/24/ipv6_tutorial.html
* Setup  -> http://www.onlamp.com/pub/a/onlamp/2001/06/01/ipv6_tutorial.html
Of course with your #1 IPv6 ready operating system -> http://www.NetBSD.org/




Home | Main Index | Thread Index | Old Index