Perhaps quotes would help. That is:
#!"/usr/local/j64-602/bin/j"

On Fri, Jan 8, 2010 at 4:16 PM, David Ward Lambert
<[email protected]>wrote:

> My shell script starting with
>
> #!/usr/local/j64-602/bin/j
>
> fails at the hyphen.  Is there a plan to generalize scripts so that I
> don't have to move j and the shared object library and whatever else to
> a path without a hyphen?  (I haven't done an exhaustive test to see
> whether the "-" is important, or "jconsole" is sought.  I'm assuming
> that some kind reader is familiar with this and understands that there's
> a good chance that I did use  chmod +x ...  and that my j code is valid
> because I copied file:///usr/local/j64-602/help/user/hashbang.htm with a
> few modifications, etceteras.)
>
> I suppose the work around is to link...no I don't know a simple
> solution.  My OS is the penultimate ubuntu release.
>
> Thank you,
> Dave Lambert
>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to