Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rochester!ken From: ken@rochester.arpa (Ken Yap) Newsgroups: comp.unix.questions Subject: Re: Why does this shell program run under csh??? Message-ID: <392@sol.ARPA> Date: Thu, 25-Jun-87 19:34:58 EDT Article-I.D.: sol.392 Posted: Thu Jun 25 19:34:58 1987 Date-Received: Sat, 27-Jun-87 04:05:04 EDT References: <7953@brl-adm.ARPA> <6014@brl-smoke.ARPA> <1615@oliveb.UUCP> Reply-To: ken@rochester.UUCP (Ken Yap) Organization: U of Rochester, CS Dept, Rochester, NY Lines: 10 |Having it check for shell scripts first is convenient as you can write a |"cc.sh" that invokes the "cc" program with special arguments. On Unix |you are forced to use two different names or [hope that the PATH finds |the script first.] No, that still won't work. If you don't reset the PATH within the script, cc will keep calling itself until you run out of processes. Normally one specifies the full path within the private cc. Ken