bug-bash
[Top][All Lists]
Advanced

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

Re: [patch #7818] Loop breaks when trying to write to a readonly variabl


From: Daniel Amthor
Subject: Re: [patch #7818] Loop breaks when trying to write to a readonly variable
Date: Fri, 13 Jul 2012 17:17:11 +0200

Chet,

2012/7/13 Chet Ramey <address@hidden>

> On 7/13/12 8:53 AM, Daniel Amthor wrote:
>
> Yeah, that's an assignment error.  Posix says a non-interactive shell
> should exit in that case and that an interactive shell should write an
> error message without exiting.  Bash doesn't exit the shell, but it does
> cause the current command to fail.
>
So...works as designed ?

Best
Dan


reply via email to

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