X-Spam-Check-By: sourceware.org Date: Sat, 27 May 2006 13:59:47 -0400 From: Christopher Faylor 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.11 Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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" 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/