[Jprogramming] Documentation in J REPL

Joey K Tuttle jkt at qued.com
Tue Dec 25 19:42:25 UTC 2012


I think it is cool.

Oleg (author of task.ijs) produced lots of well thought out additions to 
J. But even before his work, most of my use of J (especially in terms of 
other people using my work) has been in J scripts.

J script of two sorts - #! shell scripts and the same but invoked as cgi 
from an Apache web server. In the case of #! scripts, they are run from 
a command line in either Linux or OS X (i.e. 'nix environments). I have 
several "system admin tasks" that are started up and left running 
indefinitely looping on a timer (typically between 1 second and 1 minute).

The cgi scripts start on demand from a browser call to the web server.

I have also used J #! scripts that wait on sockets activity from some 
external (perhaps remote) process.

Key issues (for me) are how to pass standard input/output between 
scripts/commands where some are J and others are not, and how to pick up 
parameters from a browser user interacting with the web server.

I have sometimes posted descriptions of the tools I use (not as general 
or "elegant" as those proposed/written by Oleg) and I am happy to share 
such information with anyone interested.

On 2012/12/25 10:09 , Y-01 wrote:
> Hi, All.
>
> It's interesting for me. Does anybody usually use J scripts instead of Bash
> scripts. Is it cool? Mb. there are examples & tutorials & *.pdf s about
> this topic (any docs in addition to system/main/task.ijs )?


More information about the Programming mailing list