[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Question about the return value of 'local'
From: |
Francis Moreau |
Subject: |
Re: Question about the return value of 'local' |
Date: |
Thu, 13 Dec 2012 09:56:17 +0100 |
On Thu, Dec 13, 2012 at 9:44 AM, Andreas Schwab <schwab@linux-m68k.org> wrote:
> Francis Moreau <francis.moro@gmail.com> writes:
>
>> The help of 'local' is rather obscure about the description on its return
>> value:
>>
>> Returns success unless an invalid option is supplied, an
>> error occurs, or the shell is not executing a function.
>>
>> "an error occurs" is rather meaningless IMHO.
>
> See the manual for an alternative description:
>
> The return status is zero unless `local' is used outside a
> function, an invalid NAME is supplied, or NAME is a readonly
> variable.
>
I see thanks.
Somehow I thought that help(1) would have given nothing more nothing
less than what was described in the manual.
--
Francis
- Question about the return value of 'local', Francis Moreau, 2012/12/13
- Re: Question about the return value of 'local', Andreas Schwab, 2012/12/13
- Re: Question about the return value of 'local',
Francis Moreau <=
- Re: Question about the return value of 'local', Chet Ramey, 2012/12/13
- Re: Question about the return value of 'local', Francis Moreau, 2012/12/14
- Re: Question about the return value of 'local', Greg Wooledge, 2012/12/14
- Re: Question about the return value of 'local', Francis Moreau, 2012/12/14
- Re: Question about the return value of 'local', Chet Ramey, 2012/12/14
- Re: Question about the return value of 'local', Chet Ramey, 2012/12/14
- Re: Question about the return value of 'local', Dan Douglas, 2012/12/14
- Re: Question about the return value of 'local', Bill Gradwohl, 2012/12/14
- Re: Question about the return value of 'local', Steven W. Orr, 2012/12/14
- Re: Question about the return value of 'local', Bill Gradwohl, 2012/12/14