[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question about the return value of 'local'

From: Andreas Schwab
Subject: Re: Question about the return value of 'local'
Date: Thu, 13 Dec 2012 09:44:32 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.90 (gnu/linux)

Francis Moreau <address@hidden> 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


Andreas Schwab, address@hidden
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

reply via email to

[Prev in Thread] Current Thread [Next in Thread]