On 1/9/19 8:39 PM, Pádraig Brady wrote:
> Anyway that reminds me I was playing around with
> centrally overriding builtins in our test suite in the attached.
> It does slow things down somewhat.

I'm not so worried about slowing down the tests, and I guess that
the result could be cached by the first test and be re-used by the
following ones.

> +  is_builtin_ "$cmd" && eval "$cmd() { env $cmd \"\$@\"; }"

Do shell functions get inherited to sub-shells properly in the shells
we support?

Have a nice day,
Berny

Reply via email to