delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/04/30/17:43:37

From: bob DOT mcgowan AT artecon DOT com (Bob McGowan)
Subject: RE: type command
30 Apr 1998 17:43:37 -0700 :
Message-ID: <8B40B8756FA1D111BCB900A02495E24F36B44A.cygnus.gnu-win32@neptune.xstor.com>
Mime-Version: 1.0
To: gnu-win32 AT cygnus DOT com

In b19, the sh.exe is a different shell, based on something called ash.
It does not support the shell built-in command "type" (to check, run
"sh"
from the bash command line, then put in the command "type type".  The
ash
shell generates the output "type: not found" while bash says "type is a
shell builtin").  The make is probably running "sh" so if it is actually
ash then you have problems.  Rename sh.exe to ash.exe (if you want to
keep
it), then copy bash.exe to sh.exe.  Hopefully this will fix the problem.

---
Bob McGowan
i'm:  bob dot mcgowan at artecon dot com

-----Original Message-----
From: Ashish Khurana [mailto:akkhurana AT hotmail DOT com]
Sent: Wednesday, April 29, 1998 5:04 PM
To: gnu-win32 AT cygnus DOT com
Subject: type command


Hi everybody,

I'm trying to call type command from my makefile. But it gives the error

that : "type not found", 
 whereas the same command runs on the bash prompt.
Can anyone tell me the way it is happening is supposed to be like this,

or is it a bug? Is there any other alternative.

I'm working under NT v4, Cygnus-win32-b19.

TIA,
Ashish 

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
-
For help on using this list (especially unsubscribing), send a message
to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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