sh-realpath icon indicating copy to clipboard operation
sh-realpath copied to clipboard

local: not found (No such file or directory)

Open HertzDevil opened this issue 4 months ago • 0 comments

The local keyword is not 100% portable if /bin/sh is indeed the Bourne Shell, or if it is an alias to ksh93 (such as on Solaris / illumos), which uses typeset instead. (Reference) In that case using any of the functions will report a local: not found (No such file or directory) error.

HertzDevil avatar Mar 01 '24 18:03 HertzDevil