[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Webglimpse Home]

Re: glimpse command exit status



Hello Marko

I think maybe you mistyped here?  You should get an exit status of 1 if the
query has no matches, and exit status of 0 if matches were found.   (Seems
backwards, I know, but we'll probably keep it that way for historical
consistency.)

I did a quick test and the 0 exit status is being returned correctly for me when
there are matches.

--G


On Tue, 15 Aug 2000, Marko Asplund wrote:
> hello
> 
> the Glimpse manual page states that the glimpse command returns with exit
> status 0 if any matches were found, 1 if no matches were found and 2 in
> case of errors. i seem to be getting an exit status of 1 even with queries
> that have no matches. am i doing something wrong or is the documentation
> outdated here?
> 
> i'm using Glimpse v4.12 and running it with -y, -N and -H parameters.
> 
> regards,
> -- 
> 	aspa