Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) by h1439878.stratoserver.net (8.14.2/8.14.2/Debian-2build1) with ESMTP id s4MJjI6O012302 for ; Thu, 22 May 2014 21:45:19 +0200 Received: from relay.uni-heidelberg.de ([129.206.100.212]) by mx-ha.gmx.net (mxgmx112) with ESMTPS (Nemesis) id 0M6NpX-1WyLJb2sP5-00yMuZ for ; Thu, 22 May 2014 21:45:12 +0200 Received: from listserv.uni-heidelberg.de (listserv.uni-heidelberg.de [129.206.100.94]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id s4MJgNLv024356 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 22 May 2014 21:42:23 +0200 Received: from listserv.uni-heidelberg.de (listserv.uni-heidelberg.de [127.0.0.1]) by listserv.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id s4M99Rbt027946; Thu, 22 May 2014 21:42:22 +0200 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 11079476 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Thu, 22 May 2014 21:42:22 +0200 Received: from relay2.uni-heidelberg.de (relay2.uni-heidelberg.de [129.206.210.211]) by listserv.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id s4MJgMa5023819 for ; Thu, 22 May 2014 21:42:22 +0200 Received: from emea01-db3-obe.outbound.protection.outlook.com (mail-db3lp0075.outbound.protection.outlook.com [213.199.154.75]) by relay2.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id s4MJgDSg020498 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL) for ; Thu, 22 May 2014 21:42:16 +0200 Received: from [192.168.0.3] (80.177.31.128) by AM3PR05MB353.eurprd05.prod.outlook.com (10.242.247.21) with Microsoft SMTP Server (TLS) id 15.0.949.11; Thu, 22 May 2014 19:42:12 +0000 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 References: <537E212E.2030607@morningstar2.co.uk> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [80.177.31.128] X-ClientProxiedBy: AM3PR01CA058.eurprd01.prod.exchangelabs.com (10.141.191.48) To AM3PR05MB353.eurprd05.prod.outlook.com (10.242.247.21) X-Forefront-PRVS: 021975AE46 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(6049001)(6009001)(428001)(189002)(199002)(53754006)(479174003)(24454002)(51704005)(87266999)(76176999)(54356999)(80316001)(92726001)(79102001)(83322001)(4396001)(21056001)(42186004)(92566001)(31966008)(102836001)(65816999)(74502001)(19580395003)(74482001)(15202345003)(87976001)(99396002)(33656002)(50986999)(81542001)(46102001)(36756003)(47776003)(20776003)(64706001)(59896001)(77982001)(50466002)(74662001)(81342001)(76482001)(85852003)(74826001)(101416001)(80022001)(64126003)(65806001)(83506001)(23756003)(15975445006)(66066001)(83072002)(65956001);DIR:OUT;SFP:;SCL:1;SRVR:AM3PR05MB353;H:[192.168.0.3];FPR:;MLV:sfv;PTR:InfoNoRecords;MX:1;A:1;LANG:en; Received-SPF: None (: nag.co.uk does not designate permitted sender hosts) X-OriginatorOrg: nag.co.uk Message-ID: <537E5311.3020302@nag.co.uk> Date: Thu, 22 May 2014 20:42:09 +0100 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: David Carlisle Subject: Re: Reading from the system (pipe input) To: LATEX-L@LISTSERV.UNI-HEIDELBERG.DE In-Reply-To: <537E212E.2030607@morningstar2.co.uk> Precedence: list List-Help: , List-Unsubscribe: List-Subscribe: List-Owner: List-Archive: Envelope-To: X-GMX-Antispam: 0 (Mail was not recognized as spam); Detail=V3; X-GMX-Antivirus: 0 (no virus found) X-UI-Filterresults: notjunk:1;V01:K0:RVe0OqEo3uY=:2NLposQ0XyGqc0vBkGS6uW3IpS o16vUBZ3b3SvCttZV2NQ6srJ9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S5wu3GYZ5HSYZKo9iCAGfA5Y65yq+OAr+g3sg3+63ZpTgI08vKl5fhM dOYnoG/3IFoW6YArAJaKomkVWQAavvpFrNaBOS5ewGnOJTqGOKuDjib/66DHraPmmGU1OjAFk FxZzEzzphqWrKJdlNcenBCbzMar++He+NcdihnEtRvJ2wTxUuBO6FtKWP/VeKrVQJsmGEJ1Ys V67KLbTTVRm94RV7gEkcCUf1uoc1ixRx7e3J/Vz+dvk8ot9uEVNqVJ0Y57l6+cnWNmfZEHZ2L 90X4DQuSyPUjnDzCip7lsgtaLQIdCSsuCb5bPyGv412pChOapKlRbys3gG673u5nMveXWPMoL ht7nD5ei/xngVPcyUD0i2Vr660xxq2WoLo0T0kf7bYO9qJGNSfXLxENFPSkoBXDQ5vGtm5Lui f+MqLBcIUcGqGfZS6sDJUh0/rPipztC93QC/wTdGE X-UI-Loop:V01:3Zrunhj0ct8=:rhSlkOHmT3V6RqDZaLow2ele9NMAMyKvl+15Rz7fmug= Status: R X-Status: X-Keywords: X-UID: 7441 On 22/05/2014 17:09, Joseph Wright wrote: > Hello all, > > Currently, we have \ior_open:Nn for reading from a file, but no defined > interface for using the 'pipe' shell escape provided by pdfTeX. As we > forbid spaces in file names, why do we do that? Spaces in filenames always seem like an abomination to me. But that seems to be a relic on the 1970s I've noticed that people who started using computers this century don't seem to think anything of using a descriptive phrase as a filename... Shouldn't we just allow spaces (and leading | or any other system dependent special syntax) just surrounding any user supplied name by " " to keep it together? > something like > > \ior_open:Nn \g_some_ior {"|kpsewhich~-all~file.tex"} why not simply ior_open:Nn \g_some_ior {|kpsewhich~-all~file.tex} and let web2c worry about the fact it isn't a real file? > > fails with an error. A defined interface("\ior_pipe:Nn") has been > suggested > (http://chat.stackexchange.com/transcript/message/15666333#15666333). > > Thoughts on the concept/naming/etc.? Note that this is opening a > pseudo-file so does need to be related in some way to \ior_open:Nn. David