Re: htdig: error msg


Andrew Scherpbier (andrews@contigo.com)
Fri, 18 Dec 1998 07:35:02 -0800


Eric Luhrs wrote:
>
> I have compiled and installed several versions of HtDig in the past, all
> on my Sparc 20 running Solaris 2.6. I compiled 3.1.0b3, the latest build,
> and installed it with no errors. But when I ran rundig, I got a strange
> error as follows.
>
> >nbcs:/usr/local/htdig/bin # ./rundig
> >htdig: Run complete
> >htdig: 1 server seen:
> >htdig: docs.rutgers.edu:80 58 documents
> >htmerge: Total word count: 1988
> >htmerge: Total documents: 58
> >htmerge: Total doc db size (in K): 95
> >./rundig: test: unknown operator -nt
>
> Anyone know what the last line means, and even more importantly, how to
> fix it? I looked throught the mailing list archive, but couldn't find any
> matching errors....
>
> Eric
>
> --
> Eric Luhrs, NBCS, Rutgers University, Hill Center.
> MAIL: eluhrs@nbcs.rutgers.edu VOICE: 732.445.2464

Oops! Looks like someone assumed that /bin/sh is actually bash or ksh.
The standard /bin/test doesn't know about the -nt option, nor does the builtin
test that solaris' /bin/sh uses.

-- 
Andrew Scherpbier <andrews@contigo.com>
Contigo Software <http://www.contigo.com/>
----------------------------------------------------------------------
To unsubscribe from the htdig mailing list, send a message to
htdig-request@sdsu.edu containing the single word "unsubscribe" in
the body of the message.



This archive was generated by hypermail 2.0b3 on Sat Jan 02 1999 - 16:29:54 PST