delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/04/06/05:36:32

From: Bob_McGowan AT xstor DOT com (Bob McGowan)
Subject: RE: B19: [.exe is missing and B19.1 dll update is corrupt
6 Apr 1998 05:36:32 -0700 :
Message-ID: <8B40B8756FA1D111BCB900A02495E24F0154F8.cygnus.gnu-win32@neptune.xstor.com>
Mime-Version: 1.0
To: mh AT mike DOT franken DOT de
Cc: gnu-win32 AT cygnus DOT com

Mike,

Please take a look at what you did below.  The message from ash when you
did "type [" was "type: not found", which refers to the "type" command
itself, not to the left bracket command.  So I ask you to look again at
the session I supplied in my mail:

bash-2.01$ ash
$ type [
type: not found
$ [ true ] && echo ok				<<<<<=========
ok
$ ls /bin/[
ls: /bin/[: No such file or directory
$ ls /usr/bin/[
ls: /usr/bin/[: No such file or directory
$ ps
TTY   PID  PPID  PGID  WIN32-PID  UID    STIME COMMAND
-1   1000  1000  1000        202 1000 10:31:55 c:\bin\bash.exe
-1   1004  1000  1004        199 1000 11:32:21 C:\bin\ash.exe
-1   1009  1004  1004        166 1000 11:33:38 C:\bin\ps.exe
$ exit
bash-2.01$

The line marked by the "<<<<<=========" is being run by "ash", and
produces the output "ok", NOT a complaint about not being able to find
the "[" command.  The "ls" commands on my bin directories were done
because I found that the "type" command was not supported by ash.  This
shows that there is in fact no [.exe present in my "UNIX" directories.
Therefore, "[" IS a built in for "ash" while "type" IS NOT built in.

As additional proof regarding the status of "type" in ash, consider the
following:

bash-2.01$ ash
$ ls
STLdoc    bin       doc       projects  src
$ type ls
type: not found
$

----
Bob McGowan
i'm bobmcgow at xstor dot com
Storage Dimensions, Inc. 

-----Original Message-----
From: mh AT mike DOT franken DOT de [mailto:mh AT mike DOT franken DOT de]
Sent: Friday, March 27, 1998 1:02 PM
To: gnu-win32 AT cygnus DOT com
Subject: Re: B19: [.exe is missing and B19.1 dll update is corrupt


Bob McGowan [Bob_McGowan AT xstor DOT com] wrote:

>I am not sure what is happening on with your system, resulting in the
>conclusion that "[.exe is missing".  I just did the following and it
>looks to me like the left bracket is built in to ash also.  I put all

No, it isn't:

MIKE-[/home/mh]_$type [
[ is a shell builtin
MIKE-[/home/mh]_$ash
MIKE-[$PWD]_$type [
type: not found
MIKE-[$PWD]_$

Bye.
Michael.
--
Michael Hirmke           | Telefon +49 (911) 557999
Georg-Strobel-Strasse 81 | FAX     +49 (911) 557664
90489 Nuernberg          | E-Mail  mailto:mh AT mike DOT franken DOT de
                         | WWW     http://minimike.franken.de/
-
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