Re: Is this a bug or a behavior?

2013-02-18 Thread Centrych Administrator
On 02/15/2013 11:46 AM, Larry Hall (Cygwin) wrote: I believe these questions are the crux of your inquiry so I've stripped out the surrounding details. Apologies if you feel I've removed something you feel is a significant point. This goes to the heart of a difference between how Windows and

Re: Is this a bug or a behavior?

2013-02-15 Thread Larry Hall (Cygwin)
On 2/15/2013 12:29 AM, Centrych Administrator wrote: How can it ever be consistent while 'filename' and filename.exe' are allowed to exist in the same directory? Is there some way to differentiate between a Windows .exe and a Cygwin binary, like grep.exe, that's intended to execute within the

Re: Is this a bug or a behavior?

2013-02-14 Thread Centrych Administrator
On 02/13/2013 11:55 AM, Adam Dinwoodie wrote: Yes. If you ask for a file, the file doesn't exist, but the file with a .exe extension exists, Cygwin will refer you to the .exe version of the file. See . Thanks, already awa

Re: Is this a bug or a behavior?

2013-02-13 Thread Christopher Faylor
On Wed, Feb 13, 2013 at 04:55:01PM +, Adam Dinwoodie wrote: >Jack Radigan wrote: >> Using the following script: >> #!/bin/bash >> set -x >> cat << eof | `ls /bin | grep "^grep$"` alpha >> alpha >> omega >> eof > >Easier repro showing this phenomena: > >ls /bin | grep '^grep$' > >On Linux, y

RE: Is this a bug or a behavior?

2013-02-13 Thread Adam Dinwoodie
Jack Radigan wrote: > Using the following script: > #!/bin/bash > set -x > cat << eof | `ls /bin | grep "^grep$"` alpha > alpha > omega > eof Easier repro showing this phenomena: ls /bin | grep '^grep$' On Linux, you'll get "grep" as output. Cygwin won't output anything. > But, the command

Is this a bug or a behavior?

2013-02-13 Thread Jack Radigan
Using the following script: #!/bin/bash set -x cat << eof | `ls /bin | grep "^grep$"` alpha alpha omega eof Output from bash on Linux: + cat ++ ls /bin ++ grep '^grep$' + grep alpha alpha Output from bash on Cygwin: + cat ++ ls /bin ++ grep '^grep$' + alpha ./ls-test: line 3: alpha: command not