delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/11/12/07:11:42

Date: Wed, 12 Nov 1997 14:10:29 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Nate Eldredge <eldredge AT ap DOT net>
cc: Eugene <mark AT usart DOT ru>, djgpp AT delorie DOT com
Subject: Re: Rhide for Linux. Lost file.
In-Reply-To: <199711112016.MAA18270@adit.ap.net>
Message-ID: <Pine.SUN.3.91.971112141010.20379L-100000@is>
MIME-Version: 1.0

On Tue, 11 Nov 1997, Nate Eldredge wrote:

> >I have written script file (-rwxr-xr-x) for bash in the editor of Rhide
> >1.4.1 for Linux . Bash does not find this  file. Same file written by Jed
> >works. What not correctly? :-(
> Hmm. What do you mean, "does not find the file"?
> Try `diff' between the two versions.
> Make sure the magic "#! /bin/bash" is there.
> Is it along the search path, or are you using an explicit path for it?

Check out the following two gotchas:

   - you need to make the script executable:

	 chmod a+x script

   - it needs to be on the PATH, or have an explicit "./" prefix:

	 ./script

The latter is because on Unix, by default the current working
directory is NOT searched for executables.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019