Jamesbond wrote:

> I apologise for this newbie question, I have looked on the internet but
> couldn't find the solution, so I decided to ask it here.
> 
> In the process of installing tomcat 3.3 I had to set the path to java.
> I executed the following lines twice (accidentally)
> 
> setenv JAVA_HOME=/usr/local/jdk1.1.8
> setenv PATH $JAVA_HOME/bin:$PATH
> 
> I'm in the tcsh shell (freebsd 4.1.1)
> When I do : echo $PATH it shows the path twice:
> 
> /usr/local/jdk1.1.8=/bin /usr/local/jdk1.1.8=/bin
> 
> 1 .How can I remove one of those ? ( I tried unsetenv, but I didn't succeed)


Search me... IIRC, all "C-Shell-ish" shells should set "path" not "PATH" 
for command searching. And this doesn't look like it is for command 
substitution, more like some higher level is messing around...

Anyway, IMHO, that "setenv" should look like:

setenv path ${JAVA_HOME/bin}:${path}

Personally I fled from CShell brand a long time ago and settled on ZSh 
or BASh, if I cannot find ZSh (any comment on ZSh vs BASh - no flame war 
intended?)

Nix.


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to