Given the following script:
------------------------------------------
#!apl --script --
)copy 5 FILE_IO FIO∆errno
8⎕CR ⎕ARG
)off
------------------------------------------
when I try to run it like

./script.apl myarg

I get the error:

/script.apl myarg
unknown option 'myarg'
...

This happens on 833 and 1.5 and on both linux and osx.

In INFO file it explicitely states:

"Using ’—-’ as last argument on the first line of the script file
prevents any of the options given to the script to be interpreted as APL
options; all such options are passed to the application via ⎕ARG."

But it is not happening.



-- 
Br,
/Alexey

Reply via email to