-
The cache option keeps adding old scores to old dates -
thus inflating the scores heavily.
2003-08-22 06:06:53 UTC by nobody
-
Logged In: YES
user_id=750618
Ok. I stand corrected in that ksh is free (was not when I
looked last, but that was years ago!)
However, I have confirmed that my loop method works just
fine with AT&T's ksh shell.
2003-08-01 23:01:44 UTC by danegli
-
Logged In: YES
user_id=750618
elkner:
1) There is *NO* ksh for Linux unless you BUY IT. The ksh
that comes with every Linux distribution I've seen (and I
have seen many!) is pdksh, i.e. public domain Korn shell.
It's meant to be a replacement for the commercial ksh.
Here's the description from RedHat's pdksh rpm:
The pdksh package contains PD-ksh, a clone of the Korn shell
(ksh)...
2003-08-01 22:54:24 UTC by danegli
-
Logged In: YES
user_id=28819
1.0)
Actually ksh is part of any commercial UNIX and even for
Linux/BSD etc. you or/and your Linux distribution provider
can get the code for free and distribute
it (see http://www.research.att.com/sw/license/ast-open.html).
I'm not sure, what OS/Distribution you are working with, but
I guess, there
is a real ksh package availabe for it.
1.2)
Hmm...
2003-08-01 20:58:18 UTC by elkner
-
Logged In: YES
user_id=750618
But not everyone HAS ksh! Ksh is copyrighted code. Now
granted, pdksh is not, but why use pdksh when bash does
everything pdksh does and more. That is the very reason why
I don't have ksh on the system.
And since the syntax mentioned works just as well under
pdksh, why not use it instead? :>.
2003-08-01 17:30:42 UTC by danegli
-
Logged In: YES
user_id=28819
OK. So you got bashed by bash. Bash executes the loop in a
subcontext and
thus, when it gets out of the loop, LOCAL_CLASSPATH has
the same value,
as before executing the loop - not very intentional, but
bash rules :(.
That's why, the script starts with '#!/bin/ksh' and not with
something s... ;-)
2003-08-01 17:17:20 UTC by elkner
-
Logged In: YES
user_id=750618
I did not move the script at all. It's still exactly where
the unarchive process put it
(/home/dan/rc5proxy/rc5pstats-2.0/bin)
I ran bash -x ./rc5pstats (don't have ksh installed). Here's
the output:
+ JVM_FLAGS=
+ START_CLASS=org.linofee.rc5.pstats.Start
++ which java
+ JAVA=/usr/java/j2re1.4.2/bin/java
+ '[' -n '' ']'
+ '[' -z...
2003-08-01 16:09:16 UTC by danegli
-
Logged In: YES
user_id=28819
1)
Looks like you got a space or newline character in the path
for the last jar file (/opt/rc5pstats/lib/rc5pstats.jar) and
thus the jvm assumes, that you wanna start a class named
lib/rc5pstats/jar. There should be no space between -cp /
and -D !!!
2)
./rc5pstats -Dconfig.file=/etc/opt/rc5pstats.cf:
This script tries to find the required jar files...
2003-07-31 23:32:33 UTC by elkner
-
Hmmm, looks like the prefix "os" is wrong. It should be
org/linofee/rc5/pstats/Start.
2003-07-31 23:17:40 UTC by elkner
-
Same Here, but I'm not using Blackdown's JDK, I'm using SUN's J2RE ver 1.4.2, downloaded from their website today. I tried replacing the /'s with .'s in the startup script, it didn't work. Same error.
Help?
--- Dan.
2003-07-31 23:11:21 UTC by danegli