Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: ehh... zsh: correct 'cvs' to '_cvs' [nyae]? n



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



Messages sorted by: Reverse Date, Date, Thread, Author