Thanks, I'll check it out. Pier Paolo Grassi Il giorno ven 12 feb 2021 alle ore 04:21 Bart Schaefer < schaefer@brasslantern.com> ha scritto: > On Wed, Feb 10, 2021 at 3:04 PM Pier Paolo Grassi > wrote: > > > > I was afraid the function that call itself is the only way to go here, > thanks for confirming > > Actually, if you have the current development version of the shell you > can do this: > > function_name () { > function -T { > # original function body here > } "$@" > } > > The trace will show '(anon)' instead of 'function_name', but otherwise > it's what you want. >