Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Mar 2001 13:08:14 -0500 (EST)
From:      Mikhail Kruk <meshko@cs.brandeis.edu>
To:        Nate Williams <nate@yogotech.com>
Cc:        Ernst de Haan <ernst@jollem.com>, Mike Murphree <n4cnw@knology.net>, <freebsd-java@FreeBSD.ORG>
Subject:   Re: Differences in jdk1.2.2-beta?
Message-ID:  <Pine.LNX.4.30.0103071307220.32765-100000@calliope.cs.brandeis.edu>
In-Reply-To: <15014.30195.431085.1919@nomad.yogotech.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> > No, 'java' doesn't, but the shell does. Try to execute this:
> >
> >    echo ~
> >
> > This gives me, on bash:
> >
> >    /home/ernst
> >
> > I tested this on 'sh' and 'tcsh' too, both work the same as bash in this
> > respect.
>
> I know the shell does, but does the expansion occur in the middle of the
> argument, ie; '.....:~/.....'  I don't believe it does, but I could be
> wrong.  I know that we had some problems with this in our Makefiles, but
> in retrospect, make uses /bin/sh, which does not do expansion.

No, you can't be wrong ;)
well, not this time at least. I've spent enough of my time (and more than
once unfortunately) fighting this problem. ~ is not expanded in this
situation. Use full path.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.30.0103071307220.32765-100000>