bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bash upgrade 3.2_048 -> 4.0_028 breaks the source command


From: Chet Ramey
Subject: Re: bash upgrade 3.2_048 -> 4.0_028 breaks the source command
Date: Sun, 26 Jul 2009 14:00:34 -0400
User-agent: Thunderbird 2.0.0.22 (Macintosh/20090605)

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    chet@case.edu    http://cnswww.cns.cwru.edu/~chet/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]