delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/05/27/13:59:54

X-Spam-Check-By: sourceware.org
Date: Sat, 27 May 2006 13:59:47 -0400
From: Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Source C-code for shell (bash) that processes an asterisk as a special symbol
Message-ID: <20060527175947.GA6770@trixie.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <052720061303 DOT 17205 DOT 44784E19000C02B70000433522007374780A050E040D0C079D0A AT comcast DOT net> <e5a2ku$j72$1 AT sea DOT gmane DOT org>
Mime-Version: 1.0
In-Reply-To: <e5a2ku$j72$1@sea.gmane.org>
User-Agent: Mutt/1.5.11
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Sat, May 27, 2006 at 08:34:53PM +0300, Alex Vinokur wrote:
>"Eric Blake" <ericblake AT comcast DOT net> wrote in message
>news:052720061303 DOT 17205 DOT 44784E19000C02B70000433522007374780A050E040D0C079D0A AT comcast DOT net...
>> > Is there any free source C-code on Cygwin that implements "wildcard processing"?
>>
>> Yes - POSIX requires, and cygwin1.dll provides, glob().
>> http://www.opengroup.org/onlinepubs/009695399/functions/glob.html
>>
>
>Thanks.
>Also
>http://www.devdaily.com/scw/c/cygwin/src/newlib/libc/sys/linux/include/glob.h.shtml
>
>But I didn't fint out glob.c on Cygwin.

You aren't looking too hard, then.

However, just *use* the function like you would any other function.
There is no need to locate the source code to use it.  You don't need
open.c to use open.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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