From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15400 invoked from network); 12 Jul 2001 11:57:11 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 12 Jul 2001 11:57:11 -0000 Received: (qmail 12798 invoked by alias); 12 Jul 2001 11:57:06 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 15382 Received: (qmail 12787 invoked from network); 12 Jul 2001 11:57:05 -0000 X-Envelope-Sender-Is: Andrej.Borsenkow@mow.siemens.ru (at relayer david.siemens.de) Date: Thu, 12 Jul 2001 15:57:01 +0400 (MSD) From: Andrej Borsenkow X-X-Sender: To: Michael Schaap cc: Zsh hackers list Subject: Re: ehh... zsh: correct 'cvs' to '_cvs' [nyae]? n In-Reply-To: <5.1.0.14.2.20010712130410.03676c50@imap.local.mscha.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Thu, 12 Jul 2001, Michael Schaap wrote: > At 11:21 12-7-2001, Peter Stephenson wrote: > >Andrej Borsenkow wrote: > > > The problem is, of course, =cmd won't be the same as /path/to/cmd.exe. But > > > it the same with my patch as well. > > > >That might be worth a special case, since the assumption is usually that > >=cmd returns a file. > > But it does, in this case! > No. cp =cmd . copies cmd *not* cmd.exe. And this does make difference. > As far as Cygwin is concerned, both "/bin/ls" and "/bin/ls.exe" are files - > the same file. You can do whatever you want with either of the names. The > only difference is that a readdir on /bin only returns "ls.exe" and not "ls". > Only w.r.t. to stat() and only if /bin/ls does not exist. -andrej