Or, if you want to mix J in with a shell script (perhaps to condition i/o or to adapt to different host environments), you could do something like this:
http://www.jsoftware.com/pipermail/programming/2015-April/041472.html Thanks, -- Raul On Wed, May 6, 2015 at 8:52 AM, Ben Gorte - CITG <[email protected]> wrote: > Like this? > > http://jsoftware.com/help/user/hashbang.htm > > ben > ________________________________________ > From: [email protected] > [[email protected]] on behalf of Ryan > [[email protected]] > Sent: Wednesday, May 06, 2015 14:48 > To: Programming forum > Subject: [Jprogramming] command line script > > Hi, > > Is it possible to write a standalone J script similar to a bash or > python script > that you can run from the command line (in Linux or Mac terminal)? > What would be the shebang line? > > Ryan > > > The information in this e-mail is intended only for the person to whom it is > addressed. If you believe this e-mail was sent to you in error and the e-mail > contains patient information, please contact the Partners Compliance HelpLine > at > http://www.partners.org/complianceline . If the e-mail was sent to you in > error > but does not contain patient information, please contact the sender and > properly > dispose of the e-mail. > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
