1833838 Members
2112 Online
110063 Solutions
New Discussion

problem with setenv

 
Jimmy Tom_2
Frequent Advisor

problem with setenv

I am having problem with the following expression, it works on one workstation but not another.

setenv LH_IP "`ksh -c '. $ATPBIN/utils.ksh; getLHhostIPaddrs'`"

On one node (working) the LH_IP variable is set

On the node which it fails, I receive an ambiguous error
`ksh -c '. $ATPBIN/utils.ksh; getLHhostIPaddrs'`: Ambiguous

The following command
ksh -c '. $ATPBIN/utils.ksh; getLHhostIPaddrs'
works just fine on both workstations
Can anyone provide any insight in this matter?

The versions and patch levels of ksh and csh are the same on both workstations.

/usr/bin/csh:
$Revision: 82.5.1.14 $
PATCH_11_00: alloc.o getwd.o jobs.o pprintf.o sh.dir.o sh.dol.o sh.err.
o sh.exec.o sh.exp.o sh.func.o sh.glob.o sh.hist.o sh.init.o sh.lex.o sh.misc.o
sh.o sh.parse.o sh.print.o sh.proc.o sh.sem.o sh.set.o sh.time.o tenex.o hpux_re
l.o 99/08/05

Thanks