On Fri, 2011-09-30 at 06:18 +0800, [email protected]
wrote:
> Date: Fri, 30 Sep 2011 09:22:09 +1300
> From: Ric Sherlock <[email protected]>
> Subject: Re: [Jprogramming] Example bash shell scripts using J 7.01
> To: Programming forum <[email protected]>
> Message-ID:
>         <CAOoUVu80K1zQ3aN=uj4lrnfke4tjvwobuc_9z_xg7fpqby5...@mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
> 
> Not sure if you after bash scripts that run J or hashbang scripts?
> 
> I've only recently started working mostly in Linux and with bash.
> Here is an example of a hashbang script that I've created recently -
> There are probably better ways to handle errors, I'd be interested in
> alternative approaches and any other tips & tricks too.  Note that jc
> is an alias to jconsole and that I've changed the default install path
> from j64-701 to j64_701 in order to prevent J errors while executing
> 
> 

Oh-_-_-I seem to have trouble distinguishing _ from - .  I get it now.
In this context jc is most likely a link, not an alias.  Alias has a
different meaning in bash.  As for my post, "bigger hammer" exec is the
same hammer except that the first line of script needn't be
#! /path/program

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to