At 09:58  -0800 2006/08/24, [EMAIL PROTECTED] wrote:
Hello J users,

J is installed in Debian Linux here and the
jconsole works.

Someone please tell me how to interpet a
script from the Linux shell prompt. Eg?

j test.ijs

What is the i in the ijs suffix?  In the
old documents the suffix is js.

Thanks,   Peter Easthope


I use a symbolic link in Linux to put jconsole into normal
paths. My jconsole binary is /usr/local/lib/j504/jconsole

If you mean to start a j session with your script loaded -

  jconsole test.ijs

should do that (with appropriate path or link in front of
jconsole).

I believe the i was added to avoid conflict with Java Scripts.

If you want to interpret a j script in Linux you can do
something like the following (which uses my path conventions)

iMg5:~ jkt$ jfactor 123
3 41
iMg5:~ jkt$ cat /usr/local/bin/jfactor
#!/usr/local/lib/j601/jconsole
3 : 0 ARGV
stdout NL,~": q: ". >2{y
exit 0
)
iMg5:~ jkt$

I find writing 'ix scripts in J to be very useful - they
work great as CGI scripts too.

- joey
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to