From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from gatech.edu (gatech.edu [130.207.244.244]) by werple.mira.net.au (8.6.12/8.6.9) with SMTP id JAA23940 for ; Wed, 28 Jun 1995 09:55:25 +1000 Received: from math (math.skiles.gatech.edu) by gatech.edu with SMTP id AA23563 (5.65c/Gatech-10.0-IDA for ); Tue, 27 Jun 1995 19:54:22 -0400 Received: by math (5.x/SMI-SVR4) id AA25742; Tue, 27 Jun 1995 19:51:20 -0400 Old-Return-Path: Resent-Date: Wed, 28 Jun 1995 09:50:44 +1000 (EST) Old-Return-Path: From: Geoff Wing Message-Id: <199506272350.JAA07735@werple03.mira.net.au> Subject: Re: zsh script can't find zsh binary? To: zsh-users@math.gatech.edu Date: Wed, 28 Jun 1995 09:50:44 +1000 (EST) X-Mailer: ELM [version 2.4 PL23] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Resent-Message-Id: <"JeqCi3.0.uH6.Jb9yl"@math> Resent-From: zsh-users@math.gatech.edu X-Mailing-List: archive/latest/31 X-Loop: zsh-users@math.gatech.edu X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu :Jose Unpingco writes: :> I have a very simple script. It looks like this.. :> #!/home/sunshine/grad/unpingco/bin/zsh :> echo 'hey' :> :> when I try to invoke it on the command line as :> zsh> cf.zsh :> I get :> zsh: command not found: cf.zsh : :This looks like a classic case of the interpreter exec line being too :long! One of the sillier features of unix lookalikes. :There is usually a limit on how long the #! line can be, 32 characters :or so. The error message always complains it can't find the script :file, not the interpreter. You've passed the length limit. This is a :kernel problem, rather than zsh. :-) This isn't the problem here. The limit is 64 characters, and the message for exceeding this is: "exec format error". (It has nothing to do with the kernel) Another possibility could be that the program's not in his path, and he should do ./cf.zsh -- Mason [G.C.W] mason@werple.mira.net.au Hurt...Agony...Pain...LOVE-IT