[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: local failure
From: |
Pierre Gaston |
Subject: |
Re: local failure |
Date: |
Sun, 31 May 2020 17:33:12 +0200 |
On Sun, May 31, 2020 at 5:22 PM Oğuz <oguzismailuysal@gmail.com> wrote:
> 31 Mayıs 2020 Pazar tarihinde Laurent Picquet <lpicquet@gmail.com> yazdı:
>
> > Ok, thanks for the clarification.
> >
> > This behaviour is not fully documented and I believe this should be
> > addressed.
> >
> >
> I think it is very well documented in the Simple Command Expansion section
> of the manual (
>
> https://www.gnu.org/software/bash/manual/html_node/Simple-Command-Expansion.html#Simple-Command-Expansion
> ).
>
or even
https://www.gnu.org/software/bash/manual/html_node/Bash-Builtins.html#Bash-Builtins
" The return status is zero unless local is used outside a function, an
invalid name is supplied, or name is a readonly variable"