Xref: utzoo comp.lang.c:13169 comp.std.c:416 comp.unix.questions:9635 Path: utzoo!attcan!uunet!ncrlnk!ncr-sd!hp-sdd!hplabs!nsc!taux01!taux02!amos From: amos@taux02.UUCP (Amos Shapir) Newsgroups: comp.lang.c,comp.std.c,comp.unix.questions Subject: Re: ????? HELP!!! what is wrong with this code? ??????? Message-ID: <192@taux02.UUCP> Date: 7 Oct 88 14:13:36 GMT References: <456@mrsvr.UUCP> <8271@alice.UUCP> Organization: National Semiconductor (IC) Ltd, Israel Home of the 32532 Lines: 14 Hdate: 26 Tishrey 5749 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)