Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Dec 2006 17:33:59 -0800
From:      Garrett Cooper <youshi10@u.washington.edu>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: acrobatviewer
Message-ID:  <DD7706F0-31DF-48B3-B319-483E0126A8D0@u.washington.edu>
In-Reply-To: <200612192225.43468.stevan-tiefert@t-online.de>
References:  <D6B5375CBC761B4BAD78E414B4BB55724A23AC@mercury.rac.com.au> <200612191943.25714.stevan-tiefert@t-online.de> <458841E7.30500@u.washington.edu> <200612192225.43468.stevan-tiefert@t-online.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Dec 19, 2006, at 1:25 PM, Stevan Tiefert wrote:

> 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

I'll take a look when I get back in an hour.. Hopefully I can get  
Java installed tonight, at least.. I hate Java. Lol.
-Garrett



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DD7706F0-31DF-48B3-B319-483E0126A8D0>