bug-apl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-apl] strange behavior of --


From: Alexey Veretennikov
Subject: [Bug-apl] strange behavior of --
Date: Fri, 03 Feb 2017 20:29:59 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (darwin)

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

[Prev in Thread] Current Thread [Next in Thread]