How to call J (ijconsole) with a script automatically
问题 I'm using the J programming language in Ubuntu, and I'd like to call a script automatically from the command line. I think this should be possible using the ijconsole command, but I don't know how to pass it a set of functions. For instance, in perl, one would type: perl -e 'print "Hello";' Is there an equivalent method for J, using the ijconsole program? For instance: ijconsole -e 'load "script.ijs"' Thank you! 回答1: Assuming ijconsole is in your path, you can run a script from the terminal