Hi Bastian,

On Mon, Apr 27, 2015 at 8:47 AM, Bastian Bittorf <bitt...@bluebottle.com> wrote:
> Thanks for that - i did'nt know this till yet,
> and cannot find anything about 'local -' in the net,
> do you have a link?

the wording in the FreeBSD version of "man sh" is the most clear one (s. [1]):

     The only special parameter that can be made local is `-'. Making `-'
     local causes any shell options that are changed via the set command
     inside the function to be restored to their original values when the
     function returns.

Best regards,
Gene

[1] http://www.freebsd.org/cgi/man.cgi?query=sh
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to