From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/39367 Path: news.gmane.org!not-for-mail From: Peter Rolf Newsgroups: gmane.comp.tex.context Subject: Re: multiple pattern with xmltools.rb Date: Mon, 03 Mar 2008 15:42:50 +0100 Message-ID: <47CC0E6A.6040506@gmx.net> References: <47CAFEFE.80606@gmx.net> <47CBECEC.6090708@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1204555486 9410 80.91.229.12 (3 Mar 2008 14:44:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 3 Mar 2008 14:44:46 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Mar 03 15:45:11 2008 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1JWBuE-0002PO-Pf for gctc-ntg-context-518@m.gmane.org; Mon, 03 Mar 2008 15:44:42 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 125071FB95; Mon, 3 Mar 2008 15:44:10 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 24292-03-3; Mon, 3 Mar 2008 15:43:27 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id CD43F1FB72; Mon, 3 Mar 2008 15:43:27 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 50D0D1FB72 for ; Mon, 3 Mar 2008 15:43:26 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 24292-03-2 for ; Mon, 3 Mar 2008 15:42:50 +0100 (CET) Original-Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by ronja.ntg.nl (Postfix) with SMTP id DA0B61FB14 for ; Mon, 3 Mar 2008 15:42:50 +0100 (CET) Original-Received: (qmail invoked by alias); 03 Mar 2008 14:42:50 -0000 Original-Received: from i5387C3F7.versanet.de (EHLO [192.168.1.3]) [83.135.195.247] by mail.gmx.net (mp047) with SMTP; 03 Mar 2008 15:42:50 +0100 X-Authenticated: #24293357 X-Provags-ID: V01U2FsdGVkX1+iNilk0TCiTgrDPTJWgxLAV8QXVBwKZusAtrUE1T maQomMDH3My7HV User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) In-Reply-To: <47CBECEC.6090708@wxs.nl> X-Enigmail-Version: 0.95.6 X-Y-GMX-Trusted: 0 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:39367 Archived-At: Hans Hagen schrieb: > Peter Rolf wrote: >> Hi, >> >> I tried several variants to use multiple pattern with xmltool. None of >> them worked and looking in the script didn't help either (me_no_ruby). >> >> A (not working) example: >> >> xmltools.rb --dir --pattern={*.png,*.jpg} --output=filelist.xml >> >> I need the filelist as base for the creation of a resource library (xml >> part), so multiple pattern support is a prerequisite here. > > wodks ok here, on vista > > maybe you need to quote the argument? right! :) the braces around the pattern are eaten up by 'make', so you have to protect them with quotes. thanks again. RL_PATTERN := '{*.png,*.jpg}' FL_CMD := xmltools.rb --dir --pattern=$(RL_PATTERN) peter > > ----------------------------------------------------------------- > Hans Hagen | PRAGMA ADE > Ridderstraat 27 | 8061 GH Hasselt | The Netherlands > tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com > | www.pragma-pod.nl > ----------------------------------------------------------------- > ___________________________________________________________________________________ > If your question is of interest to others as well, please add an entry to the Wiki! > > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : https://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ___________________________________________________________________________________ > ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________