This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
OT: Re: Asterisk expansion...[Was: unsubscribe]....
- To: "Robertson, Jason V" <jason dot v dot robertson at intel dot com>
- Subject: OT: Re: Asterisk expansion...[Was: unsubscribe]....
- From: "Björn Kulms" <Bjoern dot Kulms at rz dot tu-ilmenau dot de>
- Date: Sun, 02 Aug 1998 18:06:29 +0200
- CC: gnu-win32 at cygnus dot com
- Organization: TU Ilmenau, Elektronische Medientechnik
- References: <7BEBE893ABDFD111AC3F00A0C96B159F5C4CD6@FMSMSX32>
- Reply-To: Bjoern dot Kulms at rz dot tu-ilmenau dot de
Could you guys, by any chance, read (or RTFM to)
any dummy-beginner's guide to UNIX or at least,
PLEASE answer personally instead of reposting to the list.
BTW, good stile is, to mark off-topic stuff "OT:".
Stuff (like this) is not related to cygwin32 at all,
but knowledge that is available to the public since
decades, and there are bunches of newsgroups etc.
that actually deal with those questions.
BTW, you might want to have some LinuX installation
around. Helps a lot....
> There seems to be an inconsistency in how * is interpreted. When you
> run, say, 'echo.exe' from the commandline you get the following:
> C:> echo *.*
> <Contents of C: are listed>
> C:> echo \*.\*
> \*.\*
>
> So why does it expand the glob in the first instance, and not unescape
> them in the second? And doesn't this mean it's impossible to echo the
> string:
> *.*
> from cmd?
>
> Running from sh behaves as expected:
> $ echo *.*
> <contents of pwd are listed>
> $ echo \*.\*
> *.*
>
> Any ideas? The reason this is causing problems is that we have a
> wrapper around these binaries and it's clueless as to what's expected of
> it because it seems indeterminate with respect to commandline expansion.
> Is there some hook whereby the tools know if they're being run from
> another Cygnus tool so they don't expand the command line?
>
> Thanks,
> Jason
> -
> For help on using this list (especially unsubscribing), send a message to
> "gnu-win32-request@cygnus.com" with one line of text: "help".
--
BGKS Bjoern Kulms Tel. +49(3677)670014 Tel. +49(5363)71468
TU Ilmenau Max-Planck-Ring 8c/L62 Kronekenberg 1
Elektron. Medientechnik D 98693 Ilmenau D 38446 Wolfsburg
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".