Hi all,
I'm new to NetRexx, so apologies if the following is a known issue: On Unix-like systems (in my case, OS X), `nrc` (from version 3.01 RC2) doesn't accept the `-run` option. The contents of the script are as follows, java org.netrexx.process.NetRexxC $* but '-run' is implemented in 'NetRexxC.sh', if test "$1" = "-run"; then shift 1 netrexx_run=yes fi Two possible fixes come to mind: (i) replacing the contents of the `nrc` script with a call to `NetRexxC.sh`, NetRexxC.sh $* (which parallels the approach taken in 'nrc.bat'); (ii) creating a symlink: rm nrc ln -s NetRexxC.sh nrc Should this be fixed? All the best, Marc _______________________________________________ Ibm-netrexx mailing list [hidden email] Online Archive : http://ibm-netrexx.215625.n3.nabble.com/ |
That indeed seems wrong. My original nrc I still use shows
#!/bin/sh # BASH script alias for NetRexxC.sh script # ----------------------------------------------------------------- # Reminder: to make this executable: chmod 751 nrc # ----------------------------------------------------------------- # 2000.08.20 -- initial version derived from nrc.bat NetRexxC.sh $* The same as the .bat and .cmd scripts do. Marc _______________________________________________ Ibm-netrexx mailing list [hidden email] Online Archive : http://ibm-netrexx.215625.n3.nabble.com/ |
In reply to this post by Marc Simpson
Hi Marc,
it seems a very valid issue and I will look into fixing this. best regards, René. On 2012-01-13 16:42, Marc Simpson wrote: > Hi all, > > I'm new to NetRexx, so apologies if the following is a known issue: > > On Unix-like systems (in my case, OS X), `nrc` (from version 3.01 > RC2) > doesn't accept the `-run` option. The contents of the script are as > follows, > > java org.netrexx.process.NetRexxC $* > > but '-run' is implemented in 'NetRexxC.sh', > > if test "$1" = "-run"; then > shift 1 > netrexx_run=yes > fi > > Two possible fixes come to mind: (i) replacing the contents of the > `nrc` script with a call to `NetRexxC.sh`, > > NetRexxC.sh $* > > (which parallels the approach taken in 'nrc.bat'); (ii) creating a > symlink: > > rm nrc > ln -s NetRexxC.sh nrc > > Should this be fixed? > > All the best, > Marc > > _______________________________________________ > Ibm-netrexx mailing list > [hidden email] > Online Archive : http://ibm-netrexx.215625.n3.nabble.com/ _______________________________________________ Ibm-netrexx mailing list [hidden email] Online Archive : http://ibm-netrexx.215625.n3.nabble.com/ |
On Fri, Jan 13, 2012 at 4:11 PM, rvjansen <[hidden email]> wrote:
> Hi Marc, > > it seems a very valid issue and I will look into fixing this. Great—thanks! Best, M _______________________________________________ Ibm-netrexx mailing list [hidden email] Online Archive : http://ibm-netrexx.215625.n3.nabble.com/ |
In reply to this post by Marc Remes-2
On 1/13/2012 10:09 AM, Marc Remes wrote:
That indeed seems wrong. My original nrc I still use showsAgreed. My relatively new installation of v3.01RC2 has the following: C:\NetRexx\bin>type nrc java org.netrexx.process.NetRexxC $* _______________________________________________ Ibm-netrexx mailing list [hidden email] Online Archive : http://ibm-netrexx.215625.n3.nabble.com/ |
-- Kermit On 1/13/2012 8:42 AM, Tom Maynard wrote: On 1/13/2012 10:09 AM, Marc Remes wrote:That indeed seems wrong. My original nrc I still use showsAgreed. My relatively new installation of v3.01RC2 has the following: _______________________________________________ Ibm-netrexx mailing list [hidden email] Online Archive : http://ibm-netrexx.215625.n3.nabble.com/ |
Free forum by Nabble | Edit this page |