Hi,

We still use ksh88 but recently one of our servers was installed with ksh 93 T+ 
this is on a SuSE server..

One of our scripts is failing with:

        xxxx_xxxxx_xxxx: no parent

The xxx above is actually a C program who's output is assigned to an 
environment variable inside the script like this:

        VARIABLE=$(xxxx_xxxxxx_xxxx bla bla bla )

After lots of digging around we found that the FPATH variable is the problem.

In fact, when we unset the FPATH variable before executing the line above the 
script works perfectly.

Before executing the line that falls over the FPATH contains something like 
this;

 :/usr/share/ksh/fun:CcB:/xxxx/xxxx/xxxx/ksf:CcE:

The CcB and CcE lines are added by our IT people, it works like this and there 
is NOTHING we can do about this in development.

If we create a directory called CcB before executing the script that also fixes 
the problem.

So the question is, how do I fix it so that ksh does not fall over when FPATH 
contains :CcB: and CcB does not exist ?

Is there a way I can food it or anything I can do.

I can't change CcB being added ...

Short of creating a CcB directory in every directory on the system, what could 
I do ?

I can't change to ksh88 either, I have to use the shell installed on the 
machine.

I've downloaded the last version of ksh93 and tested it and it also falls over .

Thanks very much in advance.

Jerry Rocteur
_______________________________________________
ast-users mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-users

Reply via email to