hey....

I am using Sun OS......and it seems it doesnt work on that...:(

date --date='3 months ago' "+%b"

On Thu, Jan 16, 2003 at 05:30:00AM +0000, Amit Karnik wrote:
>
>    hi
>
>    In shell  Script...how  do i get a month which was 3 months earlier to
>    the  present  month......i.e  Now  its Jan ...How do i get Jan minus 3
>    which shuld return me.......Oct.....
>    It shuld b in format of Jan..Feb..only...as i need to search a file by
>    that  name  and  then  delete  it......File  Format is...***Jan_01...,
>    ***Feb_01  and  so on...So on Jan1st i need to delete a file which has
>    name ***Oct_01 and this shuld go on for rest of the yr...
>    Thanks in Advance
>
>    [cricket.gif]  Catch  all the cricket action. Download [1]Yahoo! Score
>    tracker
>
> References
>
>    1. http://in.sports.yahoo.com/cricket/tracker.html

Amitay.
--

Marriage is bliss. Ignorance is bliss. Therefore ...

Catch all the cricket action. Download Yahoo! Score tracker