Excellent !
Thanks billions
On 8/31/23, Seth David Schoen <schoen@loyalty.org> wrote:
> Budi writes:
>
>> Must be pure Bash only to prevent costly execution another
>
> You could use "command -v" or "type -p"/"type -P" somehow instead of
> "which". The details depend on what you want to do in case the command
> is intelligible to the shell but is not (directly) an external program,
> like in the case of a shell alias, shell function, or shell builtin.
>