public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "Puttkammer, Roman" <roman.puttkammer@multex.com>
To: "'cygwin@cygwin.com'" <cygwin@cygwin.com>
Subject: bash wildcard expansion
Date: Thu, 21 Dec 2000 17:40:00 -0000	[thread overview]
Message-ID: <2CB1272B2212D211974D00805FCB57420AFAFBE5@MSEXCHANGE> (raw)

I hope i'm not getting flamed for this one, but what am I missing? A 
command line argument is being expanded by bash even though it's escaped.

  /tibrv/src/examples/java# D:/jdk1.3/bin/java.exe \*
  Exception in thread "main" java.lang.NoClassDefFoundError:
cmlistener/class

"cmlistener.class" is the first filename in the directory.

Same thing if i'm using single quotes to escape. Note that java.exe does not
expand arguments itself; it works as expected from a DOS shell:

  D:\TIBCO\TIBRV\src\examples\java>java "*"
  Exception in thread "main" java.lang.NoClassDefFoundError: *

"ls '*'" or "ls \*" works as expected ("ls: *: No such file or directory".)

roman

  Cygwin DLL version: 1001 / 6
  GNU bash, version 2.04.0(1)-release (i586-pc-cygwin)

-- 
To pour bottled sauce over salad is to miss the point of salad altogether.
                                     - Fairways, advertisement for olive oil

This email message is for the sole use  of the intended recipient(s) and may
contain  confidential and  privileged information.  Any unauthorized review,
use,  disclosure or distribution is prohibited.  If you are not the intended
recipient,  please contact the sender by reply email  and destroy all copies
of the original message.
Any views expressed in the email message  are those of the individual sender
except  where  the  sender  specifically states  them  to  be  the views  of
Multex.com, Inc.

Roman Puttkammer                                      mailto:putt@multex.com
Multex.com, Inc.                                       http://www.multex.com
33 Maiden Lane                                         tel +1 (212) 859 9908
New York, NY 10038                                     fax +1 (212) 859 9810

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

             reply	other threads:[~2000-12-21 17:40 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-12-21 17:40 Puttkammer, Roman [this message]
2000-12-21 18:31 ` Christopher Faylor
2000-12-21 18:06 Dunn-Roberts, Richard
2000-12-21 18:37 Puttkammer, Roman
2000-12-21 19:04 ` Chris Abbey
2000-12-21 19:12 ` friedman_hill ernest j
2000-12-21 18:54 Puttkammer, Roman
2000-12-21 19:07 ` Christopher Faylor
2000-12-21 19:37   ` Christopher Faylor
2000-12-22  5:53 Earnie Boyd

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2CB1272B2212D211974D00805FCB57420AFAFBE5@MSEXCHANGE \
    --to=roman.puttkammer@multex.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).