ash
fi
Thanks for the feedback.
Sorry for poor English.
> Date: Wed, 4 Mar 2015 07:31:56 -0600
> Subject: Re: BUG: echo call function
> From: john.archie.mck...@gmail.com
> To: xsla...@live.fr
> CC: bug-bash@gnu.org
>
> On Tue, Mar 3, 2015 at 9:17 PM, x Slack x
On Wed, Mar 04, 2015 at 11:42:19AM -0300, x Slack x Ruan wrote:
> I understand the use of ''.
> But in this case could not be a interrupt call?
> So it is no loop, the problem persists even if there is space between the ``.
Spaces in the command are not relevant. You are calling yourself
recurs
Recursion is not a bug, it's a feature of the language.
On Tue, Mar 3, 2015 at 9:17 PM, x Slack x Ruan wrote:
> Good evening.
>
> My name is Ruan, was doing some scripting with bash, to launch a script my
> system crashed and restarted.
> When I look at the command syntax.
>
>
> function example () {
>echo `example`
> }
That is interesting. But it makes sense to me. And I would not
consider it a bug. BASH is doing what you told it to do. It is a
recursive call. But I do think that Chet would agree that crashing the
OS is a "bad thing" [grin]. I'm just not too sure what he could do
about it. If it were my system, I
Good evening.
My name is Ruan, was doing some scripting with bash, to launch a script my
system crashed and restarted.
When I look at the command syntax.
function example () {
echo `example`
}
example
The echo generates an infinite loop calling the function