Subject: Re: silly request for ideas about about silly change
To: Andrew Brown <atatat@atatdot.net>
From: Dave <dgriffi@cs.csubak.edu>
List: tech-userlevel
Date: 06/21/2002 14:09:52
On Fri, 21 Jun 2002, Andrew Brown wrote:

> >> 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
> 
> and "cal -moon" for the lunar month instead?  ;-)
> 
> >but of course that's not the way UNIX options usually work,
> >and calls for custom option parsing...
> 
> not.  that would be hairy.
> 
> getting back to the original *point*, using -3 is a fine idea.  having
> a way to print the current month and the previous two would be a
> bonus.

I think "-n <num>" and "-p <num>" for "next" and "previous" would be
ideal.


-- 
David Griffith
dgriffi@cs.csubak.edu