Jump to content

Take notes on the command line: Difference between revisions

m
→‎{{header|J}}: Use debian standard install location for J
(Omitted EasyLang)
m (→‎{{header|J}}: Use debian standard install location for J)
Line 1,517:
=={{header|J}}==
'''Solution''':<br>
<syntaxhighlight lang="j">require 'files strings'#!/usr/bin/ijconsole
require 'files strings'
 
notes=: monad define
Line 1,531 ⟶ 1,532:
exit 0</syntaxhighlight>
 
Under OSX, replace <tt>/usr/bin/ijconsole</tt> with a version specific path such at /Applications/j602/bin/jconsole
Create a Shortcut called <tt>Notes</tt> that calls the script above using the Target:<br>
 
CreateUnder Windows (where the #! line is irrelevant), create a Shortcut called <tt>Notes</tt> that calls the script above using the Target:<br>
<tt>"c:\program files\j602\bin\jconsole.exe" path\to\script\notes.ijs</tt><br>
and Start in: <tt>.\</tt>
6,962

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.