Aaah, the clouds start to drift away. Many thanks.
Staffan
On Fri, Feb 28, 2014 at 7:37 PM, Rick McGuire <object.r...@gmail.com> wrote:
> Here's a decent explanation of what's going on:
>
> http://en.wikipedia.org/wiki/Glob_(programming)
>
> And yes, this is a unix thing. The command shell will automatically
> perform file name expansion on commands before the target program is even
> invoked. For example, using an argument like "*.log" will expand the
> argument into a list of file names that match that pattern, passed as
> separate arguments. All of this takes place in the command shell before
> the target program is invoked.
>
> Rick
>
>
> On Fri, Feb 28, 2014 at 1:31 PM, Staffan Tylen <staffan.ty...@gmail.com>wrote:
>
>> Having very limited linux background I'm trying to understand this but I
>> don't believe I do (nothing wrong with your explanation Mark, I'm just
>> thick!). Well, you say that shell behaves differently but I guess this
>> discussion only applies to linux or unix. Running this from a Windows
>> prompt I see no such behaviour. But in linux, do the question mark(s) get
>> passed to the rexx program (I didn't see any signs of that) or do they get
>> eaten by the shell parser? Sorry for being a nut-case, I blame my parents :)
>>
>>
>>
>> On Fri, Feb 28, 2014 at 6:59 PM, Mark Miesfeld <miesf...@gmail.com>wrote:
>>
>>>
>>> On Fri, Feb 28, 2014 at 9:53 AM, Mark Miesfeld <miesf...@gmail.com>wrote:
>>>
>>>>
>>>> No statement in the Rexx program invokes the shell. It is this line:
>>>>
>>>> $rexx ~/rx/odd ?
>>>>
>>>> typed on the command line that <invokes> the shell. Although invokes
>>>> is not really a good word. The shell has already been invoked and is
>>>> sitting in a loop parsing stuff that is typed on the command line.
>>>>
>>>> The shell determines that odd is a file name and an executable file at
>>>> that, uses the shebang line to determine the rexx executes the file. It
>>>> then passes the file name and the command line arguments to rexx.
>>>>
>>>
>>> Well, that's not really correct, I didn't read that closely enough. The
>>> shell determines the first token on the command line is an executable file,
>>> rexx, and expands the rest of the command line into arguments it passes to
>>> rexx.
>>>
>>> --
>>> Mark Miesfeld
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> 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
>>>
>>>
>>
>>
>> ------------------------------------------------------------------------------
>> 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
>>
>>
>
>
> ------------------------------------------------------------------------------
> 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
>
>
------------------------------------------------------------------------------
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