From: Maurice <ma...@bc...> - 2014-02-27 16:34:40
|
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 |