Yes, illumos-gate one. $ which ksh93 /usr/bin/ksh93 $ pkg search -l '*usr/bin/ksh93*' INDEX ACTION VALUE PACKAGE path hardlink usr/bin/ksh93 pkg:/[email protected]
Damn, now I can't reproduce it... Perhaps, run it under bldenv? $ksh93 usr/src/tools/scripts/blah.sh $0: "usr/src/tools/scripts/blah.sh" whence $0: "/export/home/alp/srcs/illumos-gate/usr/src/tools/scripts/blah.sh" dirname whence $0: "/export/home/alp/srcs/illumos-gate/usr/src/tools/scripts" However, $ ksh93 usr/src/tools/scripts/nightly.sh ../illumos.sh dirname: missing operand Try 'dirname --help' for more information. С уважением, Александр Пыхалов, программист отдела телекоммуникационной инфраструктуры управления информационно-коммуникационной инфраструктуры ЮФУ ________________________________________ От: Joshua M. Clulow <[email protected]> Отправлено: 13 ноября 2018 г. 10:57:05 Кому: Illumos Discussion Тема: Re: [discuss] new illumos build instructions On Mon, 12 Nov 2018 at 23:38, Alexander Pyhalov via illumos-discuss <[email protected]> wrote: > $ ksh93 usr/src/tools/scripts/blah.sh > $0: "usr/src/tools/scripts/blah.sh" > whence $0: "" > dirname whence $0: "." That seems very odd indeed. Are you using the ksh93 from illumos-gate, or another version? Cheers. -- Joshua M. Clulow Engineer @ Joyent http://blog.sysmgr.org ------------------------------------------ illumos: illumos-discuss Permalink: https://illumos.topicbox.com/groups/discuss/Tb9ec5451a7d2f96a-Mfd40e035c62936343304e2f9 Delivery options: https://illumos.topicbox.com/groups/discuss/subscription
