Adam Monsen wrote:

> Bash Version: 3.1
> Patch Level: 7
> Release Status: release
> 
> Description:
>        When a variable is declared local and the assigned value is
> gathered from
> a command enclosed in backticks, it is not possible to retrieve the
> return value
> of the function within the backticks. Is this expected behavior?

It is expected and documented.  `local' is a builtin command that returns
a 0 status if the assignment is performed.

Chet
-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                       Live Strong.  No day but today.
Chet Ramey, ITS, CWRU    [EMAIL PROTECTED]    http://cnswww.cns.cwru.edu/~chet/


_______________________________________________
Bug-bash mailing list
Bug-bash@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-bash

Reply via email to