Re: Is This a Feature?

Roy T. Fielding (fielding@kiwi.ICS.UCI.EDU)
Fri, 07 Mar 1997 00:14:52 -0800


>When I enter, for example, ''splitlog -d "Feb" +', I get data for every day in
>every February going back to the flood (well, almost), and when I enter 
>'splitlog -d "1997" +' I get all the data for 1997.
>
>But, if I enter 'splitlog -d "February 1997" +', I get zip--no logfiles, and
>empty dnscache files.
>
>To get data for February, 1997, I have to enter 'splitlog -d "Feb (lots and lots
>of regular expressions) 1997" +'.  This works, for which I am thankful, but it
>sure would be a lot easier to tell splitlog to go get the stuff for "Feb 1997"
>.
>
>Any idea why it's set up this way?

Because it is a regular expression field, which tends to work much
better than a computer attempting to guess what it is you really meant
to request.  Besides, it is relatively easy to do

    splitlog -d "Feb .. 1997"

and get what you want.  The fixed syntax for dates was inherited from
wwwstat, but I'm sure that somebody could do better if they had the time.

 ...Roy T. Fielding
    Department of Information & Computer Science    (fielding@ics.uci.edu)
    University of California, Irvine, CA 92697-3425    fax:+1(714)824-4056
    http://www.ics.uci.edu/~fielding/