If you put something like
export PATH=/home/username/jcurrent/bin/:$PATH
into your .bashrc¹
and keep that symlink jcurrent, well, current,
(which is a good idea in the first place)
then you can just say
#!/usr/bin/env jconsole
instead.
¹ ~ in place of /home/username won’t do in this case!
Am 06.07.22 um 18:41 schrieb [email protected]:
Hi Raul,
sorry...I was misleading what I wrote (no native speaker).
What I meant was...if someone new interested in J reads the
wikipedia page, installs J and then tries, what the wikipedia
pages says, will fail and may decide "I will remove it, it does not
work."
...which will decrease the number of user by one each time.
Cheers!
Meino
On 07/06 12:33, Raul Miller wrote:
On Wed, Jul 6, 2022 at 10:19 AM <[email protected]> wrote:
I found this said to be a valid script for J:
#!/bin/jc
echo 'Hello, world!'
exit ''
...but there is no "jc" on my system (I have installed J of course :) )
Is it only valid for the commercial version of J?
I remember that older versions of J used different names for the executables.
If you like, you could use jconsole for jc. You might even install it
in the /bin/ directory.
That said, there's also a tool named jc which converts content to
json. Then again, there's also a jconsole which is the java console.
--
Raul
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
--
----------------------
mail written using NEO
neo-layout.org
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm