in reply to Re: Find name of calling script?
in thread Find name of calling script?

but the doco doesn't mention 'do' as something 'caller' works for.

What are you getting at?

The call could be via a 'do' or 'system' or `` or 'exec'.

system is fork+exec+wait