Subject: Re: silly request for ideas about about silly change
To: Andrew Brown <atatat@atatdot.net>
From: Jarkko Hietaniemi <jhi@iki.fi>
List: tech-userlevel
Date: 06/21/2002 23:39:35
On Fri, Jun 21, 2002 at 04:35:06PM -0400, Andrew Brown wrote:
> >> I can't figure out a decent letter to use for the
> >> "show three months" switch.
> >
> >Why does it have to be a letter?  "cal -3" seems appropriate to me.
> 
> can we make +3 work for "the current month and the previous two"?
> that's also *very* useful.  especially during the first few days of a
> month.

The *mathematically* logical way would be

cal +3  next
cal -3  previous
cal +-3 next and previous
cal -+3 next and previous

but of course that's not the way UNIX options usually work,
and calls for custom option parsing...

-- 
$jhi++; # http://www.iki.fi/jhi/
        # There is this special biologist word we use for 'stable'.
        # It is 'dead'. -- Jack Cohen