From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <102653649622013.tru64-unix-managers.marc@archive.invalid> From: Narendra Raavi Date: Thu, 21 Jun 2001 20:17:08 +0000 To: tru64-unix-managers Subject: Bizzare ksh behavior, Tru64 UNIX V4.0F X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=102653649622013 Managers, We are having a very bizzare shell program behavior. Here is the context: ENV=/home/narendra/.kshrc PATH=/home/narendra/bin:/usr/bin:. The file .kshrc contains the following line: typeset -x MYTEST=55 I have two scripts named tst: one in ~/bin and another in ~/tmp /home/narendra/tmp/tst has the following two lines: #!/bin/ksh print "In the tmp directory" /home/narendra/bin/tst has the following two lines: #!/bin/ksh print "In the bin directory" When I change directory to tmp and execute /home/narendra/tmp/tst I see the following output: In the bin directory When I execute ./tst from tmp, I see the following output: In the tmp directory When I execute /home/narendra/tmp/tst from anywhere else, I see the following output: In the tmp directory This behavior is seen only on Tru64 UNIX (V4.0F), not on solaris 5.6, HP-UX 10.20 or HP-UX 11.x. I do not have access to other versions of Tru64 UNIX. I believe this is a bug. Can others on this list confirm this? What's the process if this is indeed a bug? Thank you, -- -- Narendra Ra[a]vi Email : narendra@spiff.hr.att.com MT A4-4B27 Phone : 732-420-7792