Just come across weirdly inconsistent results when passing "?" as an 
argument. What have I overlooked, I wonder...

Given the test program called 'odd':

  #!  /usr/bin/rexx
  parse arg given .
  say "/"given"/"

then using  ooRexx-4.1.1.opensuse1140.i586.rpm on Linux Mageia-3, I 
get the following inconsistencies between laptop and desktop machines 
using the same version of ooRexx and Mageia-3:

Laptop:

  $rexx ~/rx/odd ?
  /?/
  $ rexx ~/rx/odd ??
  /rx/
  ]$ rexx ~/rx/odd ???
  /bin/

Desktop:

  $ rexx ~/rx/odd ?
  /A/                <-----------------Note!
  $ rexx ~/rx/odd ??
  /rx/
  $ rexx ~/rx/odd ???
  /bin/

Questions:
  (1) With one "?", why do laptop and desktop yield different results?
  (2) Why the unexpected results with strings of multiple "?"s?
  
What characteristics of "?" as an argument have I accidentally hit?!

-- 
/\/\aurice 
        (Retired in Surrey, UK)     Registered Linux User #487649
                    Linux 32-bit Mageia-3:   Pan 0.139
          KDE 4.10.5  Virtualbox 4.2.16   Firefox 24.2   KMail 4.10.5


------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
_______________________________________________
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users

Reply via email to