Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Feb 2004 12:45:06 -0700
From:      Greg Lewis <glewis@eyesbeyond.com>
To:        Marc van Kempen <marc@bowtie.nl>
Cc:        freebsd-java@freebsd.org
Subject:   Re: Netbeans 3.6Beta runide.sh fails on FreeBSD 5.2R
Message-ID:  <20040213194506.GA1285@misty.eyesbeyond.com>
In-Reply-To: <200402132024.54674.marc@bowtie.nl>
References:  <200402131836.17766.markus.svensson2@spray.se> <20040213184819.GA438@misty.eyesbeyond.com> <200402132024.54674.marc@bowtie.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Feb 13, 2004 at 08:24:54PM +0100, Marc van Kempen wrote:
> On Friday 13 February 2004 19:48, Greg Lewis wrote:
> > So, I would suggest adding these two lines to the script:
> >
> > EXPR_COMPAT=1
> > export EXPR_COMPAT
> >
> > Then it will (hopefully) work on FreeBSD.
> >
> > I will note strongly that its Linux and OSX which are broken in this
> > respect though.  FreeBSD is POSIX compliant, they are not.
> 
> Another possible solution, that also works on Mac OSX and Linux is:

The solution I should suggested should also work on Linux and OSX as
they will presumably ignore the EXPR_COMPAT setting.

> expr X-J-Xms24m : 'X-J\(.*\)'

That would cleaner.  I vote for this (assuming I have a vote :).

-- 
Greg Lewis                          Email   : glewis@eyesbeyond.com
Eyes Beyond                         Web     : http://www.eyesbeyond.com
Information Technology              FreeBSD : glewis@FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040213194506.GA1285>