From owner-freebsd-questions@FreeBSD.ORG Thu Dec 21 11:46:02 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 2572C16A403 for ; Thu, 21 Dec 2006 11:46:02 +0000 (UTC) (envelope-from stevan-tiefert@t-online.de) Received: from mailout09.sul.t-online.com (mailout09.sul.t-online.com [194.25.134.84]) by mx1.freebsd.org (Postfix) with ESMTP id B25EA13C41A for ; Thu, 21 Dec 2006 11:46:01 +0000 (UTC) (envelope-from stevan-tiefert@t-online.de) Received: from fwd30.aul.t-online.de by mailout09.sul.t-online.com with smtp id 1GxC4R-0004KH-00; Thu, 21 Dec 2006 01:46:03 +0100 Received: from p54a54e3b.dip.t-dialin.net (Thynk8ZFweoqHdflBRfxvVShdojf3wv7QSxJzLYCSHNbE8dN65+5w4@[84.165.78.59]) by fwd30.sul.t-online.de with esmtp id 1GxC4N-0Arys40; Thu, 21 Dec 2006 01:45:59 +0100 From: Stevan Tiefert To: freebsd-questions@freebsd.org Date: Thu, 21 Dec 2006 01:47:19 +0100 User-Agent: KMail/1.9.4 References: <20061219214345.E49015@wonkity.com> <20061220081028.T50583@wonkity.com> In-Reply-To: <20061220081028.T50583@wonkity.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200612210147.20071.stevan-tiefert@t-online.de> X-ID: Thynk8ZFweoqHdflBRfxvVShdojf3wv7QSxJzLYCSHNbE8dN65+5w4 X-TOI-MSGID: 55c36bf6-2cfa-4246-b75c-70f3161bc1c2 Cc: 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: Thu, 21 Dec 2006 11:46:02 -0000 Am Mittwoch, 20. Dezember 2006 16:59 schrieb Warren Block: > On Tue, 19 Dec 2006, Warren Block wrote: > > [fixing screen wrap problem] > > java -cp acrobat.jar com.adobe.acrobat.Viewer > > Exception in thread "main" java.lang.NoClassDefFoundError: > com/apple/mrj/MRJAboutHandler > > It doesn't fix that, but here's a patch to fix, or at least start to > fix, the most obvious problems in the AcrobatViewer shell script: > > --- AcrobatViewer.old Wed Dec 20 08:12:16 2006 > +++ AcrobatViewer Wed Dec 20 08:21:58 2006 > @@ -119,7 +119,7 @@ > do > #lsstring=`ls -dgon $currname` > lsstring=`ls -l $currname` > - islink="`expr "$lsstring" : ".*[\>]\(.*\)"`" > + islink=`expr "\"$lsstring\"" : "\".*[>]\(.*\)\""` > if [ ${islink:-""} = "" -o ${islink:-"0"} = "0" ] > then > linked=false > @@ -257,7 +257,7 @@ > then > finished=true > else > - testclp=`expr "$thisclp" : "\([/]\)"` > + testclp=`expr "\"$thisclp\"" : "\([/]\)"` > if [ "${testclp:-""}" = "" -o "${testclp:-"0"}" = "0" ] > then > absclp=$absclp$here/$thisclp: > @@ -610,7 +610,7 @@ > # > linkDir=`dirname $actvm_remaining` > minusLoutput=`ls -l $actvm_remaining` > - minusLoutput=`expr "$minusLoutput" : ".*[\>] \(.*\)"` > + minusLoutput=`expr "\"$minusLoutput\"" : ".*[\>] \(.*\)"` > while [ "$minusLoutput" != "" -a "$minusLoutput" != 0 ] > do > if [ `expr "$minusLoutput" : "^/"` = 0 ]; then > > -Warren Block * Rapid City, South Dakota USA > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" Hello Warren, maybe a stupid question :-) Should I save that in a diff-file and use it with patch maybe? Regards Stevan Tiefert