www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/07/26/15:13:41

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
X-Lotus-FromDomain: JPMORGAN AT SMTP
From: "Noel L Yap" <yap_noel AT jpmorgan DOT com>
To: mminnis AT prefres DOT com
cc: Cygwin AT sources DOT redhat DOT com
Message-ID: <85256928.005B8AA0.00@nyc-ntgw-n01.ny.jpmorgan.com>
Date: Wed, 26 Jul 2000 12:39:56 -0400
Subject: Re: Filename globbing/wildcards
Mime-Version: 1.0

Yes: echo M*

Noel




mminnis AT prefres DOT com on 2000.07.26 11:55:20

To:   cygwin AT sources DOT redhat DOT com
cc:   (bcc: Noel L Yap)
Subject:  Re: Filename globbing/wildcards




This brings up an interesting question.....  :)

Is there a way/utility in Cygwin to view the output of what a certain
wildcard expansion would return?

Like M*

sh> utility_name M*

Returns to stdout (or file):
Mark
Matt
Matilda
Melvin
...



Thanks,

Matt


At 10:51 AM 7/26/2000 -0400, Chris Faylor wrote:
>On Wed, Jul 26, 2000 at 03:03:06PM +0100, Derwin, Frank wrote:
> >I am doing a simple ls a* in a ksh script.
> >
> >I've tried it in the bash shell too and I get the same behaviour.
>
>Since the filename expansion for bash and ksh is done in the shells
>themselves, it's odd that you would be seeing the same behavior in
>both.
>
>A 'cygcheck -r -s -v' might help pinpoint your problem.
>
>cgf
>
> >> -----Original Message-----
> >> From:        Chris Faylor [SMTP:cgf AT cygnus DOT com]
> >> Sent:        Wednesday, July 26, 2000 2:53 PM
> >> To:  'cygwin AT sourceware DOT cygnus DOT com'
> >> Cc:  Frank DOT Derwin AT fid-intl DOT com
> >> Subject:     Re: Filename globbing/wildcards
> >>
> >> On Wed, Jul 26, 2000 at 09:48:34AM +0100, Derwin, Frank wrote:
> >> >I've just started using the 1.0 Cygwin CD release.
> >> >
> >> >I have a problem with filename globbing.  A single * expands correctly to
> >> >give all filenames.
> >> >
> >> >But any variation on this (such as a* or *a) gives the error "Filename
> >> too
> >> >long", whether or not there are files that match the pattern.
> >> >
> >> >Any suggestions?
> >>
> >> I can't duplicate this behavior.  Sorry.
> >>
> >> Are you doing this from a command shell?  From bash?  What command are you
> >> using?
> >>
> >> cgf
> >
> >--
> >Want to unsubscribe from this list?
> >Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
>
>--
>cgf AT cygnus DOT com                        Cygnus Solutions, a Red Hat company
>http://sourceware.cygnus.com/         http://www.redhat.com/
>
>--
>Want to unsubscribe from this list?
>Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

Cthulhu for President. Why settle for a lesser evil?

=========================================================
Preferred Resources          (314) 567-7600 phone
701 Emerson rd.              (314) 993-6699 fax
Suite 475             mminnis AT prefres DOT com
St. Louis, MO
63141
=========================================================


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com






This communication is for informational purposes only.  It is not intended as
an offer or solicitation for the purchase or sale of any financial instrument
or as an official confirmation of any transaction. All market prices, data
and other information are not warranted as to completeness or accuracy and
are subject to change without notice. Any comments or statements made herein
do not necessarily reflect those of J.P. Morgan & Co. Incorporated, its
subsidiaries and affiliates.


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019