acrobatviewer
Stevan Tiefert
stevan-tiefert at t-online.de
Tue Dec 19 13:24:35 PST 2006
Am Dienstag, 19. Dezember 2006 20:47 schrieb Garrett Cooper:
>
> I agree. (probably going to get flamed, but oh well..) Why in the
> heck do people offer other solutions when things don't work instead of
> solving the actual problem?
> env says what? I'm particularly interested with what you have for
> your shell because that might be a point of issue, as the problem listed
> above is with a shell script of some kind (expr is a common shell command).
> -Garrett
> _______________________________________________
$ AcrobatViewer redbook.pdf
expr: illegal option -- r
usage: expr [-e] expression
$
That is happening,... after that I done following:
$ sh -x /usr/local/bin/AcrobatViewer redbook.pdf 2> error
$ cat error | grep expr
+ expr lrwxr-xr-x 1 root wheel 54 19 Dez 21:34
AcrobatViewer -> /usr/local/share/java/AdobeAcrobatViewer/AcrobatViewer : .*[\>]\(.*\)
+ expr /usr/local/share/java/AdobeAcrobatViewer/AcrobatViewer : \(.*\).*/
+ expr /usr/local/share/java/AdobeAcrobatViewer/AcrobatViewer : .*/\(.*\)
+ expr -r-xr-xr-x 1 root wheel 17170 19 Dez 21:34
AcrobatViewer : .*[\>]\(.*\)
expr: illegal option -- r
usage: expr [-e] expression
+ expr acrobat.jar:lax.jar : \(.*\).*[$]ENV_CLASSPATH
+ expr acrobat.jar:lax.jar : .*[$]\(.*\)
+ expr acrobat.jar : \([/]\)
+ expr 1 + 1
+ expr lax.jar : \([/]\)
+ expr 2 + 1
+ expr 3 + 1
+ expr /usr/local/bin/javavm : .*/\(.*\)
$
You see, at the 4th time "expr" was called in the script the error appears!!!
My debugging knowlegde is not so great to know what to do to repair the
script!!!
The port print/acrobatviewer is very small! Please install the port to read
the shell-script "AcrobatViewer".
Regards
Stevan Tiefert
More information about the freebsd-questions
mailing list