Miklos Vajna wrote:

> Bash Version: 4.0
> Patch Level: 28
> Release Status: release
> 
> Description:
>         In the current directory create an empty file 'foo'. Then the
>         following will fail:
> 
>         $ sh -c 'ls foo;. foo'
>         foo
>         sh: line 0: .: foo: file not found
> 
>         This works fine with version 3.2, patchlevel 48.

Posix requires the bash-4 behavior and bash-4.0, when running in Posix
implements it.  It was a bug in bash-3.x that it did not.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer

Chet Ramey, ITS, CWRU    c...@case.edu    http://cnswww.cns.cwru.edu/~chet/


Reply via email to