????? HELP!!! what is wrong with this code? ???????

Amos Shapir amos at taux02.UUCP
Sat Oct 8 00:13:36 AEST 1988


In article <8271 at alice.UUCP> debra at alice.UUCP () writes:
>Your code is just fine. The problem is that you named your program "test".
>There is a standard utility "test" in /bin, and if that comes before your
>current directory in your $PATH, you actually execute /bin/test instead
>of your own program.

More likely, 'test' is a shell built-in command so it gets executed
before anything on PATH (/bin seldom precedes '.' in $PATH of regular
users).
-- 
	Amos Shapir				amos at nsc.com
National Semiconductor (Israel) P.O.B. 3007, Herzlia 46104, Israel
Tel. +972 52 522261  TWX: 33691, fax: +972-52-558322
34 48 E / 32 10 N			(My other cpu is a NS32532)



More information about the Comp.unix.questions mailing list