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

2012-07-13 Thread Daniel Amthor
Chet, 2012/7/13 Chet Ramey > 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 > ca

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

2012-07-13 Thread Chet Ramey
On 7/13/12 11:17 AM, Daniel Amthor wrote: > Chet, > > 2012/7/13 Chet Ramey mailto:chet.ra...@case.edu>> > > 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 shou

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

2012-07-13 Thread Chet Ramey
On 7/13/12 8:53 AM, Daniel Amthor wrote: > URL: > > > Summary: Loop breaks when trying to write to a readonly > variable Yeah, that's an assignment error. Posix says a non-interactive shell should exit in that case and that an interactive