| delorie.com/archives/browse.cgi | search |
| Date: | Thu, 9 Jan 2003 07:53:00 +0200 (IST) |
| From: | Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> |
| X-Sender: | eliz AT is |
| To: | Richard Dawe <rich AT phekda DOT freeserve DOT co DOT uk> |
| cc: | djgpp-workers AT delorie DOT com |
| Subject: | Re: m4 port: return program name as 'm4' not '/some/path/m4.exe' [PATCH] |
| In-Reply-To: | <3E1BE841.8AB80EE6@phekda.freeserve.co.uk> |
| Message-ID: | <Pine.SUN.3.91.1030109075038.16256B-100000@is> |
| MIME-Version: | 1.0 |
| Reply-To: | djgpp-workers AT delorie DOT com |
| Errors-To: | nobody AT delorie DOT com |
| X-Mailing-List: | djgpp-workers AT delorie DOT com |
| X-Unsubscribes-To: | listserv AT delorie DOT com |
On Wed, 8 Jan 2003, Richard Dawe wrote: > > > With or without the '.exe'? > > > > Depends if "test -f foo" finds foo.exe, along with other common things > > that look for files. > > "test -f foo" won't find foo.exe. "test -x foo" will find foo.exe "test -f foo" _will_ find foo.exe if you set TEST_FINDS_EXE=y. > but Tim van > Holder (hi Tim) told me the other day that it'll find directories called "foo" > in the path as well. Isn't that a bug? Does that happen on Unix and GNU/Linux systems as well.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |