On 7/6/07, Tom Sightler <[EMAIL PROTECTED]> wrote:
On Fri, 2007-07-06 at 09:26 -0700, Collins, Kevin [MindWorks] wrote:
> # echo $PATH
> /usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbi
> n:/bin:/usr/sbin:/usr/bin:/root/bin
>
> When it gets to /bin/echo, it is able to execute...

Actually, I don't think it ever gets to bin.  In my traces it doesn't
even look in /bin or /usr/bin and I don't see it in the trace you posted
either.

> I see the same behavior Tom does - if I create a link in ANY path
> component before /bin, the behavior or ksh is different! It works
> handles the escapes.

I'm starting to think the behavior may be that it uses the builtin
"echo" unless it finds an equivalent command in a path OTHER than the
standard /bin:/usr/bin:$HOME/bin path, but I'm still not 100% sure.

I tried yesterday with /bin as the first thing in PATH and it didn't
appear to look for an external echo anywhere.

It will be interesting to hear what the code is actually doing.

John

_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list

Reply via email to