Oops! Sorry... I didn't know about this... I found it extrange because
csh ,ksh and tcsh don't do this.
Sorry for the inconveniences...
Chet Ramey wrote:
>> I've done a simple patch for this unexpected behavior.
>>
>> I don't know if the previous message has arribed to the list because I
>> wasn'
> I've done a simple patch for this unexpected behavior.
>
> I don't know if the previous message has arribed to the list because I
> wasn't subcribed.
>
> I hope this will be useful :)
Please read the Bash FAQ, question E10.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
Hi all!
I've done a simple patch for this unexpected behavior.
I don't know if the previous message has arribed to the list because I
wasn't subcribed.
I hope this will be useful :)
--
..
__
/ / Jordi Pra
Tim Waugh wrote:
> What is the intended behaviour for this sort of thing?:
Bash does not attempt to trap infinite recursion, so whatever your system
does with it is what will happen.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
Live Strong. No day
Stahlman Family wrote:
>
> I believe that multiple issues may be caused by the implementation's use
> of a
> literal space character to separate words created by various forms of
> "dollar
> at" expansions. My previous email describes two such issues in detail, but
> there may well be others. The
> > Note that the goal in the examples below is to prepend "-iname '" (portion
> > within double quotes only) to each of the 2 elements in the original array,
> > without changing the number of words. i.e., the new array should contain the
> > following 2 words:
> > -iname 'abc
> > -iname 'def
Tha
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
According to Tim Waugh on 1/16/2007 5:45 AM:
> What is the intended behaviour for this sort of thing?:
Infinite recursion, within the limits of your stack.
>
> $ cat <<"EOF" >trouble
> hello ()
> {
> pwd
> }
> alias pwd="hello"
> EOF
> The beh
What is the intended behaviour for this sort of thing?:
$ cat <<"EOF" >trouble
hello ()
{
pwd
}
alias pwd="hello"
EOF
$ source trouble
$ source trouble
$ pwd
The behaviour I've observed with bash-3.2 and several earlier releases
is that bash consumes all available memory and then crashes.
Ti