$ cat >test.mksh set -- one two shift printf '[%s]\n' "$#" "$@" $ mksh -c 'command . ./test.mksh' dummy oh dear this is not good [6] [oh] [dear] [this] [is] [not] [good]
-- modernish -- harness the shell https://github.com/modernish/modernish
$ cat >test.mksh set -- one two shift printf '[%s]\n' "$#" "$@" $ mksh -c 'command . ./test.mksh' dummy oh dear this is not good [6] [oh] [dear] [this] [is] [not] [good]
-- modernish -- harness the shell https://github.com/modernish/modernish