From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/29719 Path: news.gmane.org!not-for-mail From: Sanjoy Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: updating context on Ubuntu 6.06 Date: Wed, 26 Jul 2006 23:10:23 +0100 Message-ID: References: <44C7D844.700@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1153951840 10480 80.91.229.2 (26 Jul 2006 22:10:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 26 Jul 2006 22:10:40 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Thu Jul 27 00:10:37 2006 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 ciao.gmane.org with esmtp (Exim 4.43) id 1G5raO-0006Yg-Vj for gctc-ntg-context-518@m.gmane.org; Thu, 27 Jul 2006 00:10:37 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 596351FCA2; Thu, 27 Jul 2006 00:10:34 +0200 (CEST) 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 14821-01; Thu, 27 Jul 2006 00:10:30 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id ECED71FD19; Thu, 27 Jul 2006 00:10:29 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A31A61FD19 for ; Thu, 27 Jul 2006 00:10:26 +0200 (CEST) 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 14790-01-2 for ; Thu, 27 Jul 2006 00:10:24 +0200 (CEST) Original-Received: from mraos.ra.phy.cam.ac.uk (mraos.ra.phy.cam.ac.uk [131.111.48.8]) by ronja.ntg.nl (Postfix) with SMTP id D8E421FCA2 for ; Thu, 27 Jul 2006 00:10:24 +0200 (CEST) Original-Received: from skye.ra.phy.cam.ac.uk ([131.111.48.158] ident=mail) by mraos.ra.phy.cam.ac.uk with esmtp (Exim 4.43) id 1G5raB-0005bF-FF; Wed, 26 Jul 2006 23:10:23 +0100 Original-Received: from sanjoy by skye.ra.phy.cam.ac.uk with local (Exim 3.36 #1) id 1G5raB-0006US-00; Wed, 26 Jul 2006 23:10:23 +0100 Original-To: mailing list for ConTeXt users In-Reply-To: Your message of "Wed, 26 Jul 2006 23:01:56 +0200." <44C7D844.700@wxs.nl> X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 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:29719 Archived-At: >> ("$1""$2" ... ) > coincidentaly i read this in the bash manual today but i was puzzled by > it not being > > ("$1" "$2" ... ) # separated by spaces > Sorry, my typo. > i didn't follow this thread but i assume that at some point the > outcome will be summarized; keep in mind that patched need to work > for windows as well (differ ent quoting) How does Windows quoting work? Well, the whole story isn't needed, but only how would this ruby line `kpsewhich --expand-var '$TEXMFLOCAL'` differ on Windows relative to Unix? And the $@ -> "$@" change can be done in the Unix stubs only, so the change won't affect Windows (which uses .bat files and a different syntax). The other part of the patch was changing system() to be used within an if instead of a rescue block, and I got the return information about system() from the Programming Ruby manual online. It didn't say anything about it applying only to Unix, so that change should be safe too. -Sanjoy `Never underestimate the evil of which men of power are capable.' --Bertrand Russell, _War Crimes in Vietnam_, chapter 1.