> I noticed the following behaviour: (found by my favorite testcase ;) )
>
> $ rm -rf foo* ; touch foo.exe
>
> $ test -e foo && echo found foo
> found foo
>
> $ test -e foo.exe && echo found foo.exe
> found foo.exe
>
> Hmm, how can I test if foo exists without also looking at foo.exe?
> Does th
On Mon, Dec 19, 2005 at 03:22:54PM +, Cliff Hones wrote:
>Volker Quetschke wrote:
>> I noticed the following behaviour: (found by my favorite testcase ;) )
>>
>> $ rm -rf foo* ; touch foo.exe
>>
>> $ test -e foo && echo found foo
>> found foo
>>
>> $ test -e foo.exe && echo found foo.exe
>>
Volker Quetschke wrote:
> I noticed the following behaviour: (found by my favorite testcase ;) )
>
> $ rm -rf foo* ; touch foo.exe
>
> $ test -e foo && echo found foo
> found foo
>
> $ test -e foo.exe && echo found foo.exe
> found foo.exe
>
> Hmm, how can I test if foo exists without also looki
I noticed the following behaviour: (found by my favorite testcase ;) )
$ rm -rf foo* ; touch foo.exe
$ test -e foo && echo found foo
found foo
$ test -e foo.exe && echo found foo.exe
found foo.exe
Hmm, how can I test if foo exists without also looking at foo.exe?
Does this count as a bug in te
4 matches
Mail list logo