It is the responsibility of your script file to handle arguments in ARGV.
In linux, it should be something like (untested) #!/bin/sh jqt "$@" 05.04.2014, в 22:48, Pascal Jasmin <[email protected]> написал(а): > if I modify the windows jqt.cmd file last line to: > > start bin\jqt.exe %* (adding %*) (saving to jqt2.cmd) > > > trying to get consistent behaviour with > http://jsoftware.com/help/user/cmdline.htm > > the line: > > jqt2 "D:\j64-801\addons\demos\gldemo\basic1.ijs" > > > will correctly load the file after profile > > but the lines: > > jqt2 "D:\j64-801\addons\demos\gldemo\basic1.ijs" "a=: i.4" or > > jqt2 "D:\j64-801\addons\demos\gldemo\basic1.ijs" "-js a=: i.4" > > > do not execute a, though ARGV is correctly set (in first example, could be > run with ".) > > It does not appear to be possible to pass a -js command line without a > "profile" (startup script) > > The above might hopefully be improved, but is good enough. > > Could the J distribution be updated such that jqt.cmd has %* appended to the > last line? > What modifications need be made to unix/osx such that Jqt (with default > installation) can at least load a script at startup? > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
