Al Elgert <elgert@rbg.informatik.tu-darmstadt.de> wrote:
> On Mon, Jan 14, 2002 at 12:49:50PM -0500, Paul Jarc wrote:
>> fff() { local i=0 x="${x-10}"; echo "|$i|$x|"; }
>
> This does not work, as expected - can I have the Output of your test ?
$ fff; x=1 fff; echo "$BASH_VERSION"
|0|10|
|0|1|
2.04.0(1)-release
Maybe 2.05 is buggy (try upgrading to 2.05a), but *at least* the
function was not written correctly (assuming I've understood what kind
of behavior you're trying to get).
paul