Schwarz, Konrad <konrad.schw...@siemens.com> wrote, on 04 Feb 2020: > > I would often like to pass arguments to dot, like so, > > . ./myscript arg1 arg2 ... > > temporarily setting $0 $1 $2 ..., similar to shell functions. > > Currently, this is not permitted by POSIX.
It's an allowed extension. It is even mentioned in the RATIONALE that the KornShell does it and that it is a valid extension. -- Geoff Clare <g.cl...@opengroup.org> The Open Group, Apex Plaza, Forbury Road, Reading, RG1 1AX, England