Re: unable to capture return value using backticks and local

2006-08-09 Thread Chet Ramey
Adam Monsen wrote: > I was incorrectly interpreting 'local' to be a modifier rather than a > separate builtin. It may be that someday. The shell already does a few things to try to make assignment statement arguments to those builtins (local, declare, export, readonly) more like assignment state

Re: unable to capture return value using backticks and local

2006-08-09 Thread Adam Monsen
On 8/8/06, Chet Ramey <[EMAIL PROTECTED]> wrote: [...] It is expected and documented. `local' is a builtin command that returns a 0 status if the assignment is performed. [...] Understood, thanks Chet. Also, thank you Paul for the workaround. I was incorrectly interpreting 'local' to be a mo