I had to unsubscribe/resubscribe to the list.
I am talking about my programs.  how do I turn off globbing within my programs?  mingw has globbing on by default, and everybodybody's compiler implementation has their own way of turning globbing off it seems...  soem have you assign a global variable to 0, some have you define a function, etc.

so what do I do?



From: Tomi Ollila <tomi.ollila@iki.fi>
To: Jim Michaels <jmichae3@yahoo.com>; MinGW Users List <mingw-users@lists.sourceforge.net>; mingw users <MinGW-users@lists.sourceforge.net>
Sent: Monday, November 21, 2011 2:37 AM
Subject: Re: [Mingw-users] how do I turn off argument globbing

On Mon, 21 Nov 2011 01:07:16 -0800 (PST), Jim Michaels <jmichae3@yahoo.com> wrote:
> my emails don't seem to be getting into the email list.
>
> how do I turn off globbing?
> for
> instance, if I get a * . ? or other such on the command line.  I don't
> want to expand these in some of my programs (most all of them actually).

In bash command prompt you can execute: set -o noglob

Then none of the above is expanded -- in any of your commands
To inverse this setting, enter set +o noglob

In zsh, one could execute command line: noglob <command> args -- in which
case expansions are not done in the execution of that command line. Just
that IIRC zsh has not been made available for MSYS.

> Jim Michaels
> jmichae3@yahoo.com

Tomi