Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) by h1439878.stratoserver.net (8.14.2/8.14.2/Debian-2build1) with ESMTP id s4MKhxPx012713 for ; Thu, 22 May 2014 22:44:00 +0200 Received: from relay.uni-heidelberg.de ([129.206.100.212]) by mx-ha.gmx.net (mxgmx005) with ESMTPS (Nemesis) id 0MHrBt-1WkZ2C1s57-003cU8 for ; Thu, 22 May 2014 22:43:53 +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 s4MKevYa021486 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 22 May 2014 22:40:57 +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 s4MDU0Vr027938; Thu, 22 May 2014 22:40:56 +0200 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 11079611 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Thu, 22 May 2014 22:40:56 +0200 Received: from relay.uni-heidelberg.de (relay.uni-heidelberg.de [129.206.100.212]) by listserv.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id s4MKeus5028582 for ; Thu, 22 May 2014 22:40:56 +0200 Received: from smtp2.easily.co.uk (smtp2.easily.co.uk [62.128.146.103]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id s4MKenKg021427 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 22 May 2014 22:40:52 +0200 Received: from [86.178.0.255] (port=56694 helo=palladium.home) by smtp2.easily.co.uk with esmtpa (Exim 4.43) id 1WnZnF-0002EM-Cu for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Thu, 22 May 2014 21:40:49 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 References: <537E212E.2030607@morningstar2.co.uk> <537E5311.3020302@nag.co.uk> X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Message-ID: <537E60D1.7010708@morningstar2.co.uk> Date: Thu, 22 May 2014 21:40:49 +0100 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: Joseph Wright Subject: Re: Reading from the system (pipe input) To: LATEX-L@LISTSERV.UNI-HEIDELBERG.DE In-Reply-To: <537E5311.3020302@nag.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:fK46l1w1xUA=:dCq0qoD8adYcdgJ6QrZhbH36Zt 3z5FDFNJZjfaxEcHaA6esj0o5Uncozt70jtrxg/gcAXf+idEKJapLOtdZe1VNoljV0n03XE1r 3PIlzPfyXremzJJkHA8/02r75XZCVOeYMNCGGoVAOFp1T11+cx1xrU3o+YZV351eXwjP6OzBF bQNAoSFLJMiqvd8WTXIGdWHzZV4qTep8UZAQkcozA3FgGKss4acF3g994UqFjlNiHOROqRuyi saabBRBMy3vm3zLx08e4qUVcd6PcvY70tYCPOEuRJ+a8GC+ath3VCXUCV2CXhLKFiH3rlGx7v IhoN9nDEqOpDBIOlEm7wgmVorK2NceX9/WRuqZrKZuzJChF+zeeP0mpbCr25UipFgFcKXvoy5 eOK/abBU50EoFiDc83pbfNqMedetrBOdit295CZ0Xk1FjTznRtxoZrL9rwAn6HQ+oF0raLDK7 gcwxUxi113nKICW58cpyNkKUIDW3HjlscmONhqcmqo3X/3JL4DYI5nhI/TqOabfPj/9qk+Zjn 8hG8J3XIyeJT+VzanOCivfxiRYWovwKqD93a9f97F9NF8vWlS51bKEK1iL+rc5gvMCusJuSjg 5BYSJ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keywords: X-UID: 7442 On 22/05/2014 20:42, David Carlisle wrote: > 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... The logic here was that, at least as I understand it, there are some places where you can't just 'wrap up spaces' and have them work. In particular, there are some comments about dvips and included graphics which suggest that space behaviour is hard-coded in that case and can't be changed. (MiKTeX also does some 'interesting' things with BibTeX input names containing spaces.) I may have this wrong: can other more knowledgeable people comment? This can of course be changes if required. > 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? Space behaviour notwithstanding, I think the point here is that the pipe input approach is sufficiently different from a 'real' file to deserve a separate interface. -- Joseph Wright