Francis Moreau <francis.m...@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. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."