Xref: utzoo comp.lang.c:13154 comp.std.c:413 comp.unix.questions:9619 Path: utzoo!utgpu!water!watmath!watdragon!tcjones From: tcjones@watdragon.waterloo.edu (terry jones) Newsgroups: comp.lang.c,comp.std.c,comp.unix.questions Subject: Re: ????? HELP!!! what is wrong with this code? ??????? Message-ID: <8950@watdragon.waterloo.edu> Date: 8 Oct 88 05:36:52 GMT References: <456@mrsvr.UUCP+ <8271@alice.UUCP+ <192@taux02.UUCP+ Reply-To: tcjones@watdragon.waterloo.edu (terry jones) Organization: U. of Waterloo, Ontario Lines: 18 In article <192@taux02.UUCP+ amos@taux02.UUCP (Amos Shapir) writes: +In article <8271@alice.UUCP+ debra@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@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) Here we go............