From owner-freebsd-questions@FreeBSD.ORG Wed Dec 20 01:33:56 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2D04B16A403 for ; Wed, 20 Dec 2006 01:33:56 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout1.cac.washington.edu (mxout1.cac.washington.edu [140.142.32.134]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7BEE343CA3 for ; Wed, 20 Dec 2006 01:33:55 +0000 (GMT) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.32.139] (may be forged)) by mxout1.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kBK1Xsx4030930 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 19 Dec 2006 17:33:55 -0800 X-Auth-Received: from [128.208.5.22] (shiina.dyn.cs.washington.edu [128.208.5.22]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kBK1Xs3s010519 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT) for ; Tue, 19 Dec 2006 17:33:54 -0800 Mime-Version: 1.0 (Apple Message framework v752.2) In-Reply-To: <200612192225.43468.stevan-tiefert@t-online.de> References: <200612191943.25714.stevan-tiefert@t-online.de> <458841E7.30500@u.washington.edu> <200612192225.43468.stevan-tiefert@t-online.de> X-Gpgmail-State: !signed Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Garrett Cooper Date: Tue, 19 Dec 2006 17:33:59 -0800 To: FreeBSD Questions X-Mailer: Apple Mail (2.752.2) X-PMX-Version: 5.2.2.285561, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2006.12.19.171932 X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __HAS_X_MAILER 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0' Subject: Re: acrobatviewer X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Dec 2006 01:33:56 -0000 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