On Mon, Jun 03, 2019 at 03:54:59PM +0800, konsolebox wrote:
> Hi Chet,
>
> Do you explicitly allow functions to do this? I just want to know.
>
> a() { a() { ...; }; a; }
> b() { unset -f b; command b "$@"; }
>
> My current use case for this is to have a function simplify itself
> when condition checks are no longer necessary and just adds
> unnecessary runtime load. I also had many other previous ones.
>
> --
> konsolebox
This does not seem to be a bug report. Maybe you meant to send this to
the help-bash list?
--
Kusalananda
Sweden